Module http_server

Module http_server 

Source
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.
RelayService
The hyper Service that serves the actual relay endpoints.
TlsConfig
Configuration to use for the TLS connection

Enums§

AcceptError
Server accept errors.
ConnectionHandlerError
Server connection errors, includes errors that can happen on accept.
ServeConnectionError
Errors when attempting to upgrade and