Struct soketto::handshake::server::RequestHeaders
source · Expand description
Select HTTP headers sent by the client.
Fields§
§host: &'a [u8]
The Host
header.
origin: Option<&'a [u8]>
The Origin
header, if provided.
Trait Implementations§
source§impl<'a> Clone for RequestHeaders<'a>
impl<'a> Clone for RequestHeaders<'a>
source§fn clone(&self) -> RequestHeaders<'a>
fn clone(&self) -> RequestHeaders<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more