Struct httpbis::server_conn::HttpServerConnectionAsync
[−]
[src]
pub struct HttpServerConnectionAsync { /* fields omitted */ }
Methods
impl HttpServerConnectionAsync
[src]
fn new<S>(
lh: &Handle,
socket: TcpStream,
tls: ServerTlsOption,
conf: HttpServerConf,
service: Arc<S>
) -> (HttpServerConnectionAsync, HttpFuture<()>) where
S: HttpService,
lh: &Handle,
socket: TcpStream,
tls: ServerTlsOption,
conf: HttpServerConf,
service: Arc<S>
) -> (HttpServerConnectionAsync, HttpFuture<()>) where
S: HttpService,
fn new_plain<S>(
lh: &Handle,
socket: TcpStream,
conf: HttpServerConf,
service: Arc<S>
) -> (HttpServerConnectionAsync, HttpFuture<()>) where
S: HttpService,
lh: &Handle,
socket: TcpStream,
conf: HttpServerConf,
service: Arc<S>
) -> (HttpServerConnectionAsync, HttpFuture<()>) where
S: HttpService,
fn new_plain_fn<F>(
lh: &Handle,
socket: TcpStream,
conf: HttpServerConf,
f: F
) -> (HttpServerConnectionAsync, HttpFuture<()>) where
F: Fn(Headers, HttpPartFutureStreamSend) -> HttpPartFutureStreamSend + Send + 'static,
lh: &Handle,
socket: TcpStream,
conf: HttpServerConf,
f: F
) -> (HttpServerConnectionAsync, HttpFuture<()>) where
F: Fn(Headers, HttpPartFutureStreamSend) -> HttpPartFutureStreamSend + Send + 'static,
fn dump_state(&self) -> HttpFutureSend<ConnectionStateSnapshot>
For tests