Module rama::http::layer::traffic_writer
Expand description
Middleware to write Http traffic in std format.
Can be useful for cli / debug purposes.
Structs§
- A writer that can write both requests and responses.
- Marker struct to indicate that the request should not be printed.
- Marker struct to indicate that the response should not be printed.
- Layer that applies
RequestWriterService
which prints the http request in std format. - Middleware to print Http request in std format.
- Layer that applies
ResponseWriterService
which prints the http response in std format. - Middleware to print Http request in std format.
Enums§
- The internal message type for the
BidirectionalWriter
. - Http writer mode.
Traits§
- A trait for writing http requests.
- A trait for writing http responses.