pub async fn accept_with_opts<RW, F, Fut>(
io: RW,
endpoint: F,
opts: ServerOptions,
) -> Result<()>
Expand description
Accept a new incoming HTTP/1.1 connection.
Supports KeepAlive
requests by default.
pub async fn accept_with_opts<RW, F, Fut>(
io: RW,
endpoint: F,
opts: ServerOptions,
) -> Result<()>
Accept a new incoming HTTP/1.1 connection.
Supports KeepAlive
requests by default.