Structs§
- A struct representing a parsed URL with various components.
Enums§
- Represents different types of HTTP content types, such as JSON, XML, plain text, HTML, form URL encoded, and an unknown type.
- Represents different types of errors that can occur in the application.
- Represents the HTTP version used in the request or response.
- Defines the
Methodsenum, representing HTTP request methods. - Defines the
Protocolenum, representing HTTP-related protocols. - Enumeration of HTTP status codes representing various HTTP response statuses
Type Aliases§
- A type alias for a
HashMap<String, String>, representing the headers of an HTTP request or response. This structure stores key-value pairs, where each key is the name of an HTTP header (e.g.,Content-Type,Host), and the value is the corresponding header value (e.g.,application/json,example.com). - A type alias for a
HashMap<&str, &str>, representing the headers of an HTTP request or response. This structure stores key-value pairs, where each key is the name of an HTTP header (e.g.,Content-Type,Host), and the value is the corresponding header value (e.g.,application/json,example.com).