Crate susanoo [] [src]

Susanoo is a micro Web framework for Rust language, based on Hyper and Tokio.

Reexports

pub extern crate futures;
pub extern crate hyper;

Modules

error
prelude
request
response
router
susanoo

Structs

Context

A context during handling.

HandleError

Error type thrown during handling

Request

Information of incoming request, without body stream

RequestBody

A Stream of Chunk, from incoming request.

Response

An outcoming response.

Storage

A storage of shared, global variables.

Susanoo

The main type of Susanoo, to construct a Web application.

Traits

ErrorHandler

An error handler.

Handler

Represents a request handler of Susanoo.

Responder

Represents a "responder", which converted to hyper::Response.