Skip to main content

write_handshake_reject

Function write_handshake_reject 

Source
pub async fn write_handshake_reject<S>(
    stream: &mut S,
) -> Result<(), ProtocolError>
where S: AsyncWrite + Unpin,
Expand description

Write the 1-byte handshake response (reject).