[][src]Trait tungstenite::handshake::HandshakeRole

pub trait HandshakeRole { }

Handshake role.

Implementors

impl<S: Read + Write> HandshakeRole for ClientHandshake<S>[src]

type IncomingData = Response

type InternalStream = S

type FinalResult = (WebSocket<S>, Response)

impl<S: Read + Write, C: Callback> HandshakeRole for ServerHandshake<S, C>[src]

type IncomingData = Request

type InternalStream = S

type FinalResult = WebSocket<S>

Loading content...