Name Description Size Coverage
autoreload.rs 1405 -
body.rs 739 -
compression.rs 1071 -
custom_methods.rs 1542 -
dir -
dir.rs 187 -
dyn_reply.rs 419 -
file.rs 480 -
futures.rs 950 -
handlebars_template.rs 1515 -
headers.rs ` /// /// If these conditions don't match, a 404 is returned. #[tokio::main] async fn main() { pretty_env_logger::init(); // For this example, we assume no DNS was used, // so the Host header should be an address. let host = warp::header::<SocketAddr>("host"); // Match when we get `accept: 743 -
hello.rs 236 -
multipart.rs 1221 -
query_string.rs 1918 -
README.md # Examples 2216 -
rejections.rs 3688 -
returning.rs 745 -
routing.rs 3631 -
sse.rs 921 -
sse_chat.rs 5063 -
stream.rs 1019 -
tls -
tls.rs 770 -
todos.rs 8663 -
tracing.rs [`tracing`] is a framework for instrumenting Rust programs to collect scoped, structured, and async-aware diagnostics. This example demonstrates how the `warp::trace` module can be used to instrument `warp` applications with `tracing`. [`tracing`]: https://crates.io/crates/tracing 2378 -
unix_socket.rs 506 -
websockets.rs 804 -
websockets_chat.rs 5256 -
wrapping.rs 824 -