Macros
- A quick way to create responses.
Structs
- A server request. Parses the raw request string into a more usable format.
- Response struct. Contains the response data and converts it to text if needed.
- Simple server struct
Enums
Constants
- The size of the buffer used to read incoming requests. It’s set to 8KiB by default.
Type Aliases
- A type alias for any handler function.
- Middleware function. Returns a tuple of the modified request and an optional response. If the response is not
None, the request will be ignored, and the response will be sent.