pub type Request = Incoming<(Method, RequestUri)>;
Expand description
A typical request from hyper
Aliased Type§
struct Request {
pub version: HttpVersion,
pub subject: (Method, RequestUri),
pub headers: Headers,
}
Fields§
§version: HttpVersion
HTTP version of the message.
subject: (Method, RequestUri)
Subject (request line or status line) of Incoming message.
headers: Headers
Headers of the Incoming message.