Skip to main content

a_socket

Function a_socket 

Source
pub(crate) async fn a_socket(
    args: &Args,
) -> Result<WebSocketStream<MaybeTlsStream<TcpStream>>>
Expand description

A socket with nothing asked on it yet, which the greeting has arrived on.

A whole-conversation snapshot is tens of megabytes, past the client’s default message size: a client that refused it would measure the refusal rather than the encode.