Crate http_type

Source

Enums§

  • Represents different types of HTTP content types, such as JSON, XML, plain text, HTML, form URL encoded, and an unknown type.

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).