Module choices::warp [−][src]
Re-export of warp
Modules
filters | Built-in Filters |
http | A general purpose library of common HTTP types |
hyper | hyper |
redirect | Redirect requests to a new location. |
reject | Rejections |
reply | Reply to requests. |
test | Test utilities to test your filters. |
Macros
path | Convenient way to chain multiple path filters together. |
Structs
Error | Errors that can happen inside warp. |
Rejection | Rejection of a request by a |
Server | A Warp Server ready to filter requests. |
Traits
Buf | Read bytes from a buffer. |
Filter | Composable request filters. |
Future | A future represents an asynchronous computation. |
Reply | Types that can be converted into a |
Sink | A |
Stream | A stream of values produced asynchronously. |
Functions
any | A filter that matches any route. |
cookie | Creates a |
cors | Create a wrapping filter that exposes CORS behavior for a wrapped filter. |
delete | Create a |
get | Create a |
head | Create a |
header | Create a |
log | Create a wrapping filter with the specified |
method | Extract the |
options | Create a |
patch | Create a |
path | Create an exact match path segment |
post | Create a |
put | Create a |
query | Creates a |
redirect | A simple |
reject | Rejects a request with |
reply | Returns an empty |
serve | Create a |
service | Convert a |
trace | Create a wrapping filter that instruments every request with a custom
|
wrap_fn | Function that receives a filter to be combined with pre and after filters |
ws | Creates a Websocket Filter. |