HttpServer

Type Alias HttpServer 

Source
pub type HttpServer<ExtraCfg = Empty> = HyperServer<WithLimits<TcpListen<ExtraCfg>>>;
Expand description

A type alias for http (plain TCP) hyper server.

Aliased Type§

pub struct HttpServer<ExtraCfg = Empty> {
    pub transport: WithListenLimits<TcpListen<ExtraCfg>, Limits>,
    pub hyper_cfg: HyperCfg,
}

Fields§

§transport: WithListenLimits<TcpListen<ExtraCfg>, Limits>

The inner transport.

This is accessible by the user in case it contains something of use to the Transformations.

§hyper_cfg: HyperCfg

Configuration of Hyper.

The HTTP configuration is inside this.