ekero

Crates.ioekero
lib.rsekero
version0.1.6
sourcesrc
created_at2025-02-07 17:16:59.304409+00
updated_at2025-02-17 11:10:44.170809+00
descriptionsimple http routing
homepage
repositoryhttps://github.com/rosewareorg/ekero
max_upload_size
id1547213
size60,459
Elisey Dudin (eliseydudin)

documentation

README

ekerö

a rust crate for simple http routing

let mut app = App::new("0.0.0.0:8000", 20, ());

app.get("/ping", |_ctx| {
    Ok(Response::new()
        .body("pong")
        .status_code(202)
        .header("Content-Type", "text/plain"))
});

app.poll_forever()

you can find a big example for ekerö here.

Commit count: 54

cargo fmt