pub enum RequestParseStage {
Method,
Path,
Version,
HeaderName(u32),
HeaderValue(u32),
}
Expand description
Stages of parsing a HTTP Request
.
Variants§
Method
We are parsing the Method
.
Path
We are parsing the Uri::path_and_query
part of the Uri
.
Version
We are parsing the Version
.
HeaderName(u32)
We are parsing a HeaderName
.
The number indicates the position of this name.
HeaderValue(u32)
We are parsing a HeaderValue
.
The number indicates the position of this value.