Home

envoy.extensions.filters.http.compressor.v3.Compressor

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
local types = import 'types.libsonnet';

types.envoy.extensions.filters.http.compressor.v3.Compressor
.withChooseFirst(false)
.withCompressorLibrary(types.envoy.config.core.v3.TypedExtensionConfig)
.withContentLength(1)
.withContentType([ 'string' ])
.withDisableOnEtagHeader(false)
.withRemoveAcceptEncodingHeader(false)
.withRequestDirectionConfig(types.envoy.extensions.filters.http.compressor.v3.Compressor.RequestDirectionConfig)
.withResponseDirectionConfig(types.envoy.extensions.filters.http.compressor.v3.Compressor.ResponseDirectionConfig)
.withRuntimeEnabled(types.envoy.config.core.v3.RuntimeFeatureFlag)
._validate()

Nested Messages

Fields

Name Type One-of group Required Constraints
choose_first bool  
compressor_library envoy.config.core.v3.TypedExtensionConfig yes 
content_length google.protobuf.UInt32Value  
content_type [] string  
disable_on_etag_header bool  
remove_accept_encoding_header bool  
request_direction_config envoy.extensions.filters.http.compressor.v3.Compressor.RequestDirectionConfig  
response_direction_config envoy.extensions.filters.http.compressor.v3.Compressor.ResponseDirectionConfig  
runtime_enabled envoy.config.core.v3.RuntimeFeatureFlag