Struct ntex::http::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.
Set connection type of the message
Connection type
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for RequestHead
impl !Send for RequestHead
impl !Sync for RequestHead
impl Unpin for RequestHead
impl !UnwindSafe for RequestHead
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more