Struct tungstenite::handshake::server::Request
source · Expand description
Request from the client.
Fields
path: String
Path part of the URL.
headers: Headers
HTTP headers.
Implementations
Trait Implementations
sourceimpl<'h, 'b: 'h> FromHttparse<Request<'h, 'b>> for Request
impl<'h, 'b: 'h> FromHttparse<Request<'h, 'b>> for Request
sourcefn from_httparse(raw: Request<'h, 'b>) -> Result<Self>
fn from_httparse(raw: Request<'h, 'b>) -> Result<Self>
Convert raw object into parsed HTTP headers.
Auto Trait Implementations
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more