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

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...