Crate whdp

Source

Modules§

resp_presets
Several presets for standard Responses
status_presets
Several preset Status Codes like OK, Created, Not Found

Structs§

HttpParseError
Error struct for HTTP Parsing
HttpStatus
Struct for HTTP Status Codes
Request
Struct for representing a HTTP Request
Response
Struct for representing a HTTP Response
ResponseBuilder
Builder impl for Response

Enums§

HttpMethod
Enum for all the HTTP Methods
HttpStatusGroup
Enum for HTTP Status Codes Groups
HttpVersion
Enum for the 4 different HTTP Version
ParseErrorKind
Enum for the different places where the parsing could went wrong

Traits§

Destruct
Trait for destructing structs with private fields. It can also be used to run destroy logic
TryRequest
Trait for adding a method ro specific types to parse them automatically to a Request