Struct actix_web::dev::PayloadConfig[][src]

pub struct PayloadConfig { /* fields omitted */ }

Payload configuration for request's payload.

Methods

impl PayloadConfig
[src]

Important traits for &'a mut R

Change max size of payload. By default max size is 256Kb

Important traits for &'a mut R

Set required mime-type of the request. By default mime type is not enforced.

Trait Implementations

impl Default for PayloadConfig
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for PayloadConfig

impl Sync for PayloadConfig