Expand description
Re-export of warp
Modules
Built-in Filters
A general purpose library of common HTTP types
hyper
Redirect requests to a new location.
Rejections
Reply to requests.
Test utilities to test your filters.
Macros
Convenient way to chain multiple path filters together.
Structs
Errors that can happen inside warp.
A Warp Server ready to filter requests.
Traits
Read bytes from a buffer.
Composable request filters.
Types that can be converted into a Response
.
A Sink
is a value into which other values can be sent, asynchronously.
A stream of values produced asynchronously.
Functions
A filter that matches any route.
Creates a Filter
that requires a cookie by name.
Create a Filter
that requires the request method to be DELETE
.
Create a Filter
that requires the request method to be GET
.
Create a Filter
that requires the request method to be HEAD
.
Create a Filter
that tries to parse the specified header.
Create a wrapping filter with the specified name
as the target
.
Extract the Method
from the request.
Create a Filter
that requires the request method to be OPTIONS
.
Create a Filter
that requires the request method to be PATCH
.
Create an exact match path segment Filter
.
Create a Filter
that requires the request method to be POST
.
Create a Filter
that requires the request method to be PUT
.
Creates a Filter
that decodes query parameters to the type T
.
A simple 301
permanent redirect to a different location.
Rejects a request with 404 Not Found
.
Returns an empty Reply
with status code 200 OK
.
Create a Server
with the provided Filter
.
Convert a Filter
into a Service
.
Create a wrapping filter that instruments every request with a custom
tracing
Span
provided by a function.
Combines received filter with pre and after filters
Creates a Websocket Filter.