warp
warp copied to clipboard
A super-easy, composable, web server framework for warp speeds.
This allows hosting a HTTP and HTTPS server on the same port. The main use-case is upgrading a connection to HTTPS automatically when connecting to e.g. "localhost:3030", as browsers connect...
Please add example about database (mysql, postgresql, mongodb, redis)
Let's say I have several routes, and the handler for each route returns something that I want to then serialize into json for the body of my response. ```rust use...
**Is your feature request related to a problem? Please describe.** Since https://github.com/seanmonstar/warp/pull/743, we can activate TLS client authentication which is great but it seems that we can only use one...
#878 was originally meant to work with this change, however #458 which originally provided it was closed after #878 was merged. And so, I'm providing a minimal subset of #458...
Currently, calling `info.host()` in trace and log filters does not work for http/2 connections, since they do not send the host in a header, but in the :authority pseudo-header. This...
**Version** 0.3 **Platform** MacOS Big Sur **Description** I'm facing an issue and not sure if it's a bug. This is my main route: ```rust let route = warp::path("health").and(warp::get()).map(|| "ok!"); let...
**Is your feature request related to a problem? Please describe.** In our application, we construct different routes and start TLS server in different places, the resulting code looks like: ```Rust...
I did this according to [this discussion](https://canary.discord.com/channels/500028886025895936/671042482770935808/7997138255945400720) on discord.
**Version** The output of `cargo-tree tree | grep wrap`: └── warp v0.3.2 **Platform** `Darwin maries-mac 21.4.0 Darwin Kernel Version 21.4.0: Mon Feb 21 20:34:37 PST 2022; root:xnu-8020.101.4~2/RELEASE_X86_64 x86_64` **Description** We...