mirror of https://github.com/fafhrd91/actix-web
make PayloadConfig.limit private
This commit is contained in:
parent
8a155fa5ef
commit
d02aae5519
|
@ -196,7 +196,7 @@ fn bytes_to_string(body: Bytes, encoding: &'static Encoding) -> Result<String, E
|
|||
/// `.app_data()` methods.
|
||||
#[derive(Clone)]
|
||||
pub struct PayloadConfig {
|
||||
pub limit: usize,
|
||||
limit: usize,
|
||||
mimetype: Option<Mime>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue