Struct httimple::app::App [] [src]

pub struct App { /* fields omitted */ }

This is how you use it:

´´´ let mut app = App::new(); app.serve("/", | call: &Call | -> Message { Message::from(file("index.html")) }); app.start(); ´´´

Methods

impl App
[src]

[src]

[src]

Routes calls comming from that path to that function.

[src]

Boot up the server

Trait Implementations

Auto Trait Implementations

impl Send for App

impl Sync for App