mirror of
https://github.com/fafhrd91/actix-web
synced 2025-01-31 02:52:53 +01:00
parent
b1c85ba85b
commit
6a5b370206
@ -59,7 +59,7 @@ rustls = ["actix-http/rustls", "actix-tls/accept", "actix-tls/rustls"]
|
||||
# Don't rely on these whatsoever. They may disappear at anytime.
|
||||
__compress = []
|
||||
|
||||
# io-uring feature only avaiable for Linux OSes.
|
||||
# io-uring feature only available for Linux OSes.
|
||||
experimental-io-uring = ["actix-server/io-uring"]
|
||||
|
||||
[dependencies]
|
||||
|
@ -49,7 +49,7 @@ use crate::{
|
||||
/// ```
|
||||
///
|
||||
/// # Responder
|
||||
/// It may be desireable to use a concrete type for a response with multiple branches. As long as
|
||||
/// It may be desirable to use a concrete type for a response with multiple branches. As long as
|
||||
/// both types implement `Responder`, so will the `Either` type, enabling it to be used as a
|
||||
/// handler's return type.
|
||||
///
|
||||
|
@ -165,7 +165,7 @@ where
|
||||
|
||||
/// Add default header.
|
||||
///
|
||||
/// Headers added by this method get added to every request unless overriden by .
|
||||
/// Headers added by this method get added to every request unless overridden by other methods.
|
||||
///
|
||||
/// # Panics
|
||||
/// Panics if header name or value is invalid.
|
||||
|
Loading…
x
Reference in New Issue
Block a user