Crate nickel [−] [src]
Reexports
pub use middleware::Continue; |
pub use middleware::Halt; |
pub use router::Router; |
pub use router::Route; |
pub use router::RouteResult; |
pub use router::HttpRouter; |
pub use mimes::MediaType; |
Modules
| extensions | |
| macros | |
| mimes | |
| router |
A |
| status |
Macros
| middleware |
Macro to reduce the boilerplate required for using unboxed
closures as |
| router | |
| try_with |
Structs
| DefaultErrorHandler | |
| FaviconHandler | |
| ListeningServer |
A server listeing on a socket |
| Mount | |
| Nickel |
Nickel is the application object. It's the surface that holds all public APIs. |
| NickelError |
NickelError is the basic error type for HTTP errors as well as user defined errors.
One can pattern match against the |
| Options |
Configuration options for the server. |
| Params | |
| Request |
A container for all the request data. |
| Response |
A container for the response |
| StaticFilesHandler |
Enums
| Action | |
| BodyError |
Traits
| ErrorHandler | |
| FormBody | |
| JsonBody | |
| Middleware | |
| Mountable | |
| QueryString | |
| Responder |
This trait provides convenience for translating a number
of common return types into a |
Type Definitions
| MiddlewareResult | |
| Query |