Expand description
Implementation of utilities for working with responses in salvo and reqwest.
Structs§
- File
- Sends 200 and file.
- Html
- Sends 200 and HTML.
- Json
- Sends 200 and JSON.
- MsgPack
- Sends 200 and MsgPack.
- OK
- Sends 200 without data.
- Plain
- Sends 200 and plain text.
Traits§
- Collect
Server Error - Trait to recover public errors from server.
- Explicit
Server Write - Trait that utilizes only mutable reference to
Responseand makes no need forRequest/Depot. - MsgPack
Response - Trait to parse MessagePack responses from
reqwestlibrary. - Redirect
Server Error - Trait to recover public errors from server.