pub enum RequestParseStage { Method, Path, Version, HeaderName(u32), HeaderValue(u32), }
Stages of parsing a HTTP Request.
Request
We are parsing the Method.
Method
We are parsing the Uri::path_and_query part of the Uri.
Uri::path_and_query
Uri
We are parsing the Version.
Version