Skip to main content

peek_http_input

Function peek_http_input 

pub async fn peek_http_input<PeekableInput>(
    input: PeekableInput,
    timeout: Option<Duration>,
) -> Result<(Option<HttpPeekVersion>, <PeekableInput as PeekIoProvider>::Mapped<PrefixedIo<StackReader<rama_net::::http::server::peek::HttpPrefixedIo::{constant#0}>, <PeekableInput as PeekIoProvider>::PeekIo>>), Box<dyn Error + Send + Sync>>
where PeekableInput: PeekIoProvider, <PeekableInput as PeekIoProvider>::PeekIo: Unpin,