Type Alias tungstenite::handshake::server::Request

source ·
pub type Request = Request<()>;
Expand description

Server request type.

Aliased Type§

struct Request { /* private fields */ }

Trait Implementations§

source§

impl<'h, 'b: 'h> FromHttparse<Request<'h, 'b>> for Request

source§

fn from_httparse(raw: Request<'h, 'b>) -> Result<Self>

Convert raw object into parsed HTTP headers.
source§

impl TryParse for Request

source§

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

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