Struct soketto::handshake::server::ClientRequest
source · pub struct ClientRequest<'a> { /* private fields */ }
Expand description
Handshake request received from the client.
Implementations§
source§impl<'a> ClientRequest<'a>
impl<'a> ClientRequest<'a>
sourcepub fn key(&self) -> WebSocketKey
pub fn key(&self) -> WebSocketKey
The Sec-WebSocket-Key
header nonce value.
sourcepub fn headers(&self) -> RequestHeaders<'_>
pub fn headers(&self) -> RequestHeaders<'_>
Select HTTP headers sent by the client.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ClientRequest<'a>
impl<'a> Send for ClientRequest<'a>
impl<'a> Sync for ClientRequest<'a>
impl<'a> Unpin for ClientRequest<'a>
impl<'a> UnwindSafe for ClientRequest<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more