Instance Propertyswift-nio 2.72.0NIOHTTP1
enableOutboundHeaderValidation
Whether to validate outbound response headers to confirm that they are spec compliant. Defaults to true
.
- iOS
- 16+
- macOS
- 13+
- tvOS
- 16+
- watchOS
- 9+
var enableOutboundHeaderValidation: Bool
Other members in extension
Type members
init(upgradeConfiguration: NIOTypedHTTPClientUpgradeConfiguration<UpgradeResult>
) Initializes a new
NIOUpgradableHTTPClientPipelineConfiguration
with default values.
Instance members
var encoderConfiguration: HTTPRequestEncoder.Configuration
The configuration for the
HTTPRequestEncoder
.var leftOverBytesStrategy: RemoveAfterUpgradeStrategy
The strategy to use when dealing with leftover bytes after removing the
HTTPDecoder
from the pipeline.var upgradeConfiguration: NIOTypedHTTPClientUpgradeConfiguration<UpgradeResult>
The configuration for the
NIOTypedHTTPClientUpgradeHandler
.