Struct actix_web::web::PayloadConfig [−][src]
pub struct PayloadConfig { /* fields omitted */ }
Expand description
Configuration for request’s payload.
Applies to the built-in Bytes
and String
extractors. Note that the Payload extractor does
not automatically check conformance with this configuration to allow more flexibility when
building extractors on top of Payload
.
Implementations
Change max size of payload. By default max size is 256Kb
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PayloadConfig
impl Send for PayloadConfig
impl Sync for PayloadConfig
impl Unpin for PayloadConfig
impl UnwindSafe for PayloadConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more