Function peek_client_hello_from_input
pub async fn peek_client_hello_from_input<PeekableInput>(
input: PeekableInput,
timeout: Option<Duration>,
) -> Result<(<PeekableInput as PeekIoProvider>::Mapped<PrefixedIo<HeapReader, <PeekableInput as PeekIoProvider>::PeekIo>>, Option<ClientHello>), Error>Expand description
Functional API to try to peek TLS:CH from an existing I/O input, returning the stream as-is with the read data prefixed from memory.
Use PeekTlsClientHelloService if you prefer it as a rama Service instead.