Skip to content

Instantly share code, notes, and snippets.

@ChrisBuchholz
Created July 19, 2015 15:46
Show Gist options
  • Save ChrisBuchholz/86d9cbceede173850530 to your computer and use it in GitHub Desktop.
Save ChrisBuchholz/86d9cbceede173850530 to your computer and use it in GitHub Desktop.
let mut server = Server::new();
server.get("/", hello_handle);
server.get("/hmm", hmm_handle);
server.blueprint("/a", a::routes);
server.blueprint("/b", b::routes);
server.listen("127.0.0.1:8080");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment