http_type/request/type.rs
1use super::*;
2
3/// An alias for `HashMapXxHash3_64<String, VecDeque<String>>`, representing all query parameters parsed from the request URL.
4pub type RequestQuerys = HashMapXxHash3_64<String, VecDeque<String>>;
5
6/// An alias for `HashMapXxHash3_64<String, VecDeque<String>>`, representing all headers sent with the HTTP request.
7pub type RequestHeaders = HashMapXxHash3_64<String, VecDeque<String>>;
8
9/// Parsed components of an HTTP request line: method, raw target, optional `?`/`#` offsets, and version.
10pub(super) type ParsedHttpFirstLine<'a> =
11 (Method, &'a str, Option<usize>, Option<usize>, HttpVersion);