hyper-util icon indicating copy to clipboard operation
hyper-util copied to clipboard

Common utilities used with hyper.

Results 30 hyper-util issues
Sort by recently updated
recently updated
newest added

Closes https://github.com/hyperium/hyper/issues/3080

This wrapper is useful when there is the possibility of returning various types of Body. Like this: ```Rust async fn hello(req: Request) -> Result { if req.uri().path() == "/" {...

Closes https://github.com/hyperium/hyper/issues/2858.

cc https://github.com/hyperium/hyper/issues/3851

Implements Clone for GracefulShutdown. This allows users to use GracefulShutdown in other functions.

This makes it possible to trace the entire request, including DNS resolution. The use case for this is to be able to suppress specific requests from being traced in a...

This is a port of https://github.com/hyperium/hyper/pull/3145/files + a test. It introduces a `PoisonPill` atomic onto connection info. When set to true, this prevents the connection from being returned to the...

This config API do nothing without `http2` feature. This might be confusing. As the other `http2` specific config APIs are behind `http2` feature and have `http2_` prefix, unifying it to...

Closes https://github.com/hyperium/hyper/issues/3757