Struct tungstenite::handshake::MidHandshake [] [src]

pub struct MidHandshake<Stream, Role> { /* fields omitted */ }

A WebSocket handshake.

Methods

impl<Stream, Role> MidHandshake<Stream, Role>
[src]

Returns a shared reference to the inner stream.

Returns a mutable reference to the inner stream.

impl<Stream: Read + Write, Role: HandshakeRole> MidHandshake<Stream, Role>
[src]

Restarts the handshake process.