mirror of
https://github.com/rwf2/Rocket.git
synced 2024-12-30 22:32:38 +00:00
13 lines
146 B
Rust
13 lines
146 B
Rust
|
#[macro_use] extern crate rocket;
|
||
|
|
||
|
#[get("/<_>")]
|
||
|
fn i0() {}
|
||
|
|
||
|
#[get("/c?<_>")]
|
||
|
fn i1() {}
|
||
|
|
||
|
#[post("/d", data = "<_>")]
|
||
|
fn i2() {}
|
||
|
|
||
|
fn main() { }
|