Home

envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager

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.network.http_connection_manager.v3.HttpConnectionManager
.withAccessLog([ types.envoy.config.accesslog.v3.AccessLog ])
.withAddUserAgent(false)
.withAlwaysSetRequestIdInResponse(false)
.withAppendXForwardedPort(false)
.withCodecType(types.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.CodecType.AUTO)
.withCommonHttpProtocolOptions(types.envoy.config.core.v3.HttpProtocolOptions)
.withDelayedCloseTimeout(types.google.protobuf.Duration)
.withDrainTimeout(types.google.protobuf.Duration)
.withEarlyHeaderMutationExtensions([ types.envoy.config.core.v3.TypedExtensionConfig ])
.withForwardClientCertDetails(types.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.ForwardClientCertDetails.SANITIZE)
.withGenerateRequestId(false)
.withHttp2ProtocolOptions(types.envoy.config.core.v3.Http2ProtocolOptions)
.withHttp3ProtocolOptions(types.envoy.config.core.v3.Http3ProtocolOptions)
.withHttpFilters([ types.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter ])
.withHttpProtocolOptions(types.envoy.config.core.v3.Http1ProtocolOptions)
.withInternalAddressConfig(types.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.InternalAddressConfig)
.withLocalReplyConfig(types.envoy.extensions.filters.network.http_connection_manager.v3.LocalReplyConfig)
.withMaxRequestHeadersKb(1)
.withMergeSlashes(false)
.withNormalizePath(false)
.withOriginalIpDetectionExtensions([ types.envoy.config.core.v3.TypedExtensionConfig ])
.withPathNormalizationOptions(types.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.PathNormalizationOptions)
.withPathWithEscapedSlashesAction(types.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.PathWithEscapedSlashesAction.IMPLEMENTATION_SPECIFIC_DEFAULT)
.withPreserveExternalRequestId(false)
.withProxy100Continue(false)
.withProxyStatusConfig(types.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.ProxyStatusConfig)
.withRds(types.envoy.extensions.filters.network.http_connection_manager.v3.Rds)
.withRepresentIpv4RemoteAddressAsIpv4MappedIpv6(false)
.withRequestHeadersTimeout(types.google.protobuf.Duration)
.withRequestIdExtension(types.envoy.extensions.filters.network.http_connection_manager.v3.RequestIDExtension)
.withRequestTimeout(types.google.protobuf.Duration)
.withRouteConfig(types.envoy.config.route.v3.RouteConfiguration)
.withSchemeHeaderTransformation(types.envoy.config.core.v3.SchemeHeaderTransformation)
.withScopedRoutes(types.envoy.extensions.filters.network.http_connection_manager.v3.ScopedRoutes)
.withServerHeaderTransformation(types.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.ServerHeaderTransformation.OVERWRITE)
.withServerName('string')
.withSetCurrentClientCertDetails(types.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.SetCurrentClientCertDetails)
.withSkipXffAppend(false)
.withStatPrefix('string')
.withStreamErrorOnInvalidHttpMessage(false)
.withStreamIdleTimeout(types.google.protobuf.Duration)
.withStripAnyHostPort(false)
.withStripMatchingHostPort(false)
.withStripTrailingHostDot(false)
.withTracing(types.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing)
.withTypedHeaderValidationConfig(types.envoy.config.core.v3.TypedExtensionConfig)
.withUpgradeConfigs([ types.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig ])
.withUseRemoteAddress(false)
.withVia('string')
.withXffNumTrustedHops(1)
._validate()

Nested Enums

Nested Messages

Fields

Name Type One-of group Required Constraints
access_log [] envoy.config.accesslog.v3.AccessLog  
add_user_agent google.protobuf.BoolValue  
always_set_request_id_in_response bool  
append_x_forwarded_port bool  
codec_type envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.CodecType   {"Enum":{"defined_only":true}}
common_http_protocol_options envoy.config.core.v3.HttpProtocolOptions  
delayed_close_timeout google.protobuf.Duration  
drain_timeout google.protobuf.Duration  
early_header_mutation_extensions [] envoy.config.core.v3.TypedExtensionConfig  
forward_client_cert_details envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.ForwardClientCertDetails   {"Enum":{"defined_only":true}}
generate_request_id google.protobuf.BoolValue  
http2_protocol_options envoy.config.core.v3.Http2ProtocolOptions  
http3_protocol_options envoy.config.core.v3.Http3ProtocolOptions  
http_filters [] envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter  
http_protocol_options envoy.config.core.v3.Http1ProtocolOptions  
internal_address_config envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.InternalAddressConfig  
local_reply_config envoy.extensions.filters.network.http_connection_manager.v3.LocalReplyConfig  
max_request_headers_kb google.protobuf.UInt32Value   {"Uint32":{"gt":0,"lte":8192}}
merge_slashes bool  
normalize_path google.protobuf.BoolValue  
original_ip_detection_extensions [] envoy.config.core.v3.TypedExtensionConfig  
path_normalization_options envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.PathNormalizationOptions  
path_with_escaped_slashes_action envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.PathWithEscapedSlashesAction  
preserve_external_request_id bool  
proxy_100_continue bool  
proxy_status_config envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.ProxyStatusConfig  
rds envoy.extensions.filters.network.http_connection_manager.v3.Rds route_specifier  
represent_ipv4_remote_address_as_ipv4_mapped_ipv6 bool  
request_headers_timeout google.protobuf.Duration   {"Duration":{"gte":{}}}
request_id_extension envoy.extensions.filters.network.http_connection_manager.v3.RequestIDExtension  
request_timeout google.protobuf.Duration  
route_config envoy.config.route.v3.RouteConfiguration route_specifier  
scheme_header_transformation envoy.config.core.v3.SchemeHeaderTransformation  
scoped_routes envoy.extensions.filters.network.http_connection_manager.v3.ScopedRoutes route_specifier  
server_header_transformation envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.ServerHeaderTransformation   {"Enum":{"defined_only":true}}
server_name string   {"String_":{"WellKnown":{"WellKnownRegex":2},"strict":false}}
set_current_client_cert_details envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.SetCurrentClientCertDetails  
skip_xff_append bool  
stat_prefix string   {"String_":{"WellKnown":null,"min_len":1}}
stream_error_on_invalid_http_message google.protobuf.BoolValue  
stream_idle_timeout google.protobuf.Duration  
strip_any_host_port bool strip_port_mode  
strip_matching_host_port bool  
strip_trailing_host_dot bool  
tracing envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing  
typed_header_validation_config envoy.config.core.v3.TypedExtensionConfig  
upgrade_configs [] envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig  
use_remote_address google.protobuf.BoolValue  
via string   {"String_":{"WellKnown":{"WellKnownRegex":2},"strict":false}}
xff_num_trusted_hops uint32