[−][src]Crate hightide
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
Form | A Wrapper to return Form data. This can be wrapped over any |
High | Wraps the endpoint to bypass the orphan rules - pretty much ignore this one |
Json | A Wrapper to return a JSON payload. This can be wrapped over any |
Response | A wrapper over |
Traits
Responder | This trait is implemented for all the common types you can return from an endpoint |
Functions
wrap | Wrap an endpoint to allow it to return the Responder types |