Enums§
Functions§
- connection_
type - Returns the value of
Connection
header if available - contains_
full_ headers - Returns size of header end position if header ends with “\r\n\r\n”
- content_
length - Returns content length from the
Header
if available - extract_
content_ type - Returns
Content-Type
value from the header if available - extract_
headers - It will try to read headers from the tcp stream.
Returns type
RequestHeaderError
if failed to extract headers. - host
- Returns
Host
value from the Header if available. - parse_
header - Returns key value pair from the header line
- parse_
request_ method_ header - Returns the request method and raw path from the header line if matched
- query_
params_ from_ raw - Returns map of url encoded key values
Example:
/search?name=John&age=22