Crate velto

Crate velto 

Source

Re-exports§

pub use app::App;
pub use router::Handler;
pub use template::render_template;
pub use dev::is_dev_mode;
pub use dev::set_dev_mode;

Modules§

app
dev
form
http_method
macros
middleware
prelude
response
router
template
test

Macros§

render
render! macro allowing for easy templating Example:
route
Route macro for defining routes Supports single method, multiple methods, or default GET. Example:
route_any
route_any! macro for registering a handler across all standard HTTP methods Example:

Structs§

HashMap
A hash map implemented with quadratic probing and SIMD lookup.
Header
A simple “Name: value” header wrapper (tiny_http style).
HeaderName
Represents an HTTP header field name
HeaderValue
Represents an HTTP header field value.
Request
A tiny_http-like request handed to your loop.
Response
A tiny response wrapper (status, headers, body).