Struct tungstenite::handshake::client::ClientHandshake [−][src]
pub struct ClientHandshake<S> { /* fields omitted */ }
Expand description
Client handshake role.
Implementations
pub fn start(
stream: S,
request: Request,
config: Option<WebSocketConfig>
) -> Result<MidHandshake<Self>>
pub fn start(
stream: S,
request: Request,
config: Option<WebSocketConfig>
) -> Result<MidHandshake<Self>>
Initiate a client handshake.