Expand description
Provides a server that concurrently handles many connections sending multiplexed requests.
Structs§
- Base
Channel - BaseChannel lifts a Transport to a Channel by tracking in-flight requests.
- Channel
Filter - A single-threaded filter that drops channels based on per-key limits.
- Client
Handler - A running handler serving all requests coming over a channel.
- Config
- Settings that control the behavior of the server.
- Request
Handler - A future fulfilling a single client request.
- Server
- Manages clients, serving multiplexed requests over each connection.
- Throttler
- A
Channel
that limits the number of concurrent requests by throttling. - Throttler
Stream - A stream of throttling channels.
Traits§
- Channel
- The server end of an open connection with a client, streaming in requests from, and sinking responses to, the client.
- Handler
- A utility trait enabling a stream to fluently chain a request handler.
- Serve
- Basically a Fn(Req) -> impl Future<Output = Resp>;
Functions§
- new
- Returns a new server with configuration specified
config
.