[−][src]Trait tungstenite::handshake::HandshakeRole
Handshake role.
Implementors
impl<S: Read + Write> HandshakeRole for ClientHandshake<S>
[src]
type IncomingData = Response
type InternalStream = S
type FinalResult = (WebSocket<S>, Response)
fn stage_finished(
&mut self,
finish: StageResult<Self::IncomingData, Self::InternalStream>
) -> Result<ProcessingResult<Self::InternalStream, Self::FinalResult>>
[src]
&mut self,
finish: StageResult<Self::IncomingData, Self::InternalStream>
) -> Result<ProcessingResult<Self::InternalStream, Self::FinalResult>>
impl<S: Read + Write, C: Callback> HandshakeRole for ServerHandshake<S, C>
[src]
type IncomingData = Request
type InternalStream = S
type FinalResult = WebSocket<S>
fn stage_finished(
&mut self,
finish: StageResult<Self::IncomingData, Self::InternalStream>
) -> Result<ProcessingResult<Self::InternalStream, Self::FinalResult>>
[src]
&mut self,
finish: StageResult<Self::IncomingData, Self::InternalStream>
) -> Result<ProcessingResult<Self::InternalStream, Self::FinalResult>>