tungstenite::handshake::server

Type Alias Request

Source
pub type Request = Request<()>;
Expand description

Server request type.

Aliased Type§

struct Request { /* private fields */ }

Trait Implementations§

Source§

impl TryParse for Request

Source§

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

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