[−][src]Crate thruster
Re-exports
pub use thruster_middleware; |
pub use thruster_context; |
pub use thruster_proc; |
Modules
hyper_server | |
middleware | |
server | |
testing |
Macros
middleware | The middleware macro takes a series of functions whose contexts all have |
Structs
App | App, the main component of Thruster. The App is the entry point for your application
and handles all incomming requests. Apps are also composeable, that is, via the |
BasicContext | |
BasicHyperContext | |
Http | |
MiddlewareChain | The MiddlewareChain is used to wrap a series of middleware functions in such a way that the tail can be accessed and modified later on. This allows Thruster to properly compose pieces of middleware into a single long chain rather than relying on disperate parts. |
Request | The request object is the default request object provied by Thruster. If a different server is used, such as Hyper, then you'll need to reference that server's "request" documentation instead. |
Response |
Traits
Context | A |
ThrusterServer |
Functions
decode | |
encode |
Type Definitions
Middleware | |
MiddlewareReturnValue |