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.