Struct fastly::limits::ResponseLimits
source · [−]pub struct ResponseLimits { /* private fields */ }
Expand description
The limits for components of an HTTP request.
This is primarily relevant for backend responses, and should be set before sending any backend requests.
Default values
Limit | Default value |
---|---|
Header name size | DEFAULT_MAX_HEADER_NAME_BYTES |
Header value size | DEFAULT_MAX_HEADER_VALUE_BYTES |
Implementations
Set all response limits to their default values.
Disable all response limits.
Note that the overall WebAssembly heap size limit still applies.
Get the current response header name size limit.
Set the response header name size limit.
Get the current response header value size limit.
Set the response header value size limit.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ResponseLimits
impl Send for ResponseLimits
impl Sync for ResponseLimits
impl Unpin for ResponseLimits
impl UnwindSafe for ResponseLimits
Blanket Implementations
Mutably borrows from an owned value. Read more