Struct actix_web::dev::RequestHead [−][src]
pub struct RequestHead { pub uri: Uri, pub method: Method, pub version: Version, pub headers: HeaderMap, pub extensions: RefCell<Extensions>, pub peer_addr: Option<SocketAddr>, // some fields omitted }
Fields
uri: Uri
method: Method
version: Version
headers: HeaderMap
extensions: RefCell<Extensions>
peer_addr: Option<SocketAddr>
Implementations
Message extensions
Mutable reference to a the message’s extensions
Mutable reference to the message headers.
Is to uppercase headers with Camel-Case.
Default is false
Set true
to send headers which are formatted as Camel-Case.
Set connection type of the message
Connection type
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for RequestHead
impl !Send for RequestHead
impl !Sync for RequestHead
impl Unpin for RequestHead
impl !UnwindSafe for RequestHead