/// An Incoming Message head. Includes request/status line, and headers. #[cfg(feature = "http1")] #[derive(Debug, Default)] pub(crate) struct MessageHead<S> { /// HTTP version of the message. pub(crate) version: http::Version, /// Subject (request line or status line) of Incoming message. pub(crate) subject: S, /// Headers of the Incoming message. pub(crate) headers: http::HeaderMap, /// Extensions.
extensions: http::Extensions,
}
/// An incoming request message. #[cfg(feature = "http1")] pub(crate) type RequestHead = MessageHead<RequestLine>;
/// Status of when a Dispatcher future completes. pub(crate) enum Dispatched { /// Dispatcher completely shutdown connection.
Shutdown, /// Dispatcher has pending upgrade, and so did not shutdown. #[cfg(feature = "http1")]
Upgrade(crate::upgrade::Pending),
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.