Expand description
Hightide is an extension to the tide web framework. It provides a higher level interface for building responses
To use it wrap your endpoint with the wrap
function. This wrapper allows your endpoints to
return various types that implement the Responder
trait.
Hightide also includes a Response type that is easier to use than the one provided by
tide. It has shortcut methods for setting the body to a JSON or Form payload, and for adding
typed headers from the hyperx
crate.
Structs§
- A Wrapper to return Form data. This can be wrapped over any
serde::Serialize
type. - Wraps the endpoint to bypass the orphan rules - pretty much ignore this one
- A Wrapper to return a JSON payload. This can be wrapped over any
serde::Serialize
type. - A wrapper over
tide::Response
with better ergonomics
Traits§
- This trait is implemented for all the common types you can return from an endpoint
Functions§
- Wrap an endpoint to allow it to return the Responder types