Type Alias tungstenite::handshake::client::Response

source ·
pub type Response = Response<Option<Vec<u8>>>;
Expand description

Client response type.

Aliased Type§

struct Response { /* private fields */ }

Trait Implementations§

source§

impl TryParse for Response

source§

fn try_parse(buf: &[u8]) -> Result<Option<(usize, Self)>>

Return Ok(None) if incomplete, Err on syntax error.