Available on crate feature
server only.Expand description
Low-level HTTP server components for embedding the relay service.
This module provides RelayService which can be used to embed relay functionality
into an existing HTTP server. It handles individual connections and provides
the core relay protocol implementation.
For a complete relay server implementation, see the parent server module.
Structs§
- Handlers
- A collection of HTTP request handlers for custom endpoints.
- Relay
Service - The hyper Service that serves the actual relay endpoints.
- TlsConfig
- Configuration to use for the TLS connection
Enums§
- Accept
Error - Server accept errors.
- Connection
Handler Error - Server connection errors, includes errors that can happen on
accept. - Serve
Connection Error - Errors when attempting to upgrade and