mirror of https://github.com/fafhrd91/actix-web
parent
3a88ea3632
commit
7dd630f0ef
|
@ -192,8 +192,8 @@ fn bytes_to_string(body: Bytes, encoding: &'static Encoding) -> Result<String, E
|
||||||
///
|
///
|
||||||
/// By default, the payload size limit is 256kB and there is no mime type condition.
|
/// By default, the payload size limit is 256kB and there is no mime type condition.
|
||||||
///
|
///
|
||||||
/// To use this, add an instance of it to your app or service through one of the `.app_data()`
|
/// To use this, add an instance of it to your app or service through one of the
|
||||||
/// methods.
|
/// `.app_data()` methods.
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct PayloadConfig {
|
pub struct PayloadConfig {
|
||||||
limit: usize,
|
limit: usize,
|
||||||
|
|
Loading…
Reference in New Issue