mirror of
https://github.com/fafhrd91/actix-web
synced 2025-01-31 11:02:08 +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.
|
# Don't rely on these whatsoever. They may disappear at anytime.
|
||||||
__compress = []
|
__compress = []
|
||||||
|
|
||||||
# io-uring feature only avaiable for Linux OSes.
|
# io-uring feature only available for Linux OSes.
|
||||||
experimental-io-uring = ["actix-server/io-uring"]
|
experimental-io-uring = ["actix-server/io-uring"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
@ -49,7 +49,7 @@ use crate::{
|
|||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// # Responder
|
/// # 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
|
/// both types implement `Responder`, so will the `Either` type, enabling it to be used as a
|
||||||
/// handler's return type.
|
/// handler's return type.
|
||||||
///
|
///
|
||||||
|
@ -165,7 +165,7 @@ where
|
|||||||
|
|
||||||
/// Add default header.
|
/// 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
|
||||||
/// Panics if header name or value is invalid.
|
/// Panics if header name or value is invalid.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user