Macros§
- Defines a DELETE endpoint for removing data elements from a JSON file or any text-based content.
- Defines a GET endpoint.
- Defines a POST endpoint.
- Defines a PUT endpoint.
- Support for routing with parameter extraction.
Structs§
- JSON Web Token (JWT) authentication middleware.
- Represents a handler for processing HTTP requests.
- Basic logging middleware example.
Enums§
- Enum to represent the content type for GET macro
Traits§
- Middleware support for pre and post request processing.
Functions§
- Converts a
serde_json::Value
object into a JSON string. - Extracts a cookie value from an HTTP request.
- Asynchronously handles an incoming TCP stream containing an HTTP request.
- Integrating middleware into the request handling process.
- Parses a JSON string into a
serde_json::Value
object. - Modified server run function that accepts middleware.
- Support for static file serving.