async_h1b::server

Function decode

source
pub async fn decode<IO>(
    io: IO,
    opts: &ServerOptions,
) -> Result<Option<(Request, BodyReader<IO>)>>
where IO: Read + Write + Clone + Send + Sync + Unpin + 'static,
Expand description

Decode an HTTP request on the server.