Struct susanoo::Susanoo [] [src]

pub struct Susanoo { /* fields omitted */ }

Root instance of Web application.

Methods

impl Susanoo
[src]

Add a route to the application.

Add a middleware to the application.

If you want to apply middelewares to certain route, use Route::with_middleware.

Set listen address of the application.

The default address is "0.0.0.0:4000".

Run the server infinitely.

Trait Implementations

impl Default for Susanoo
[src]

Returns the "default value" for a type. Read more