Instance Propertyswift-nio 2.72.0NIOHTTP1
encoderConfiguration
The configuration for the HTTPRequestEncoder
.
- iOS
- 16+
- macOS
- 13+
- tvOS
- 16+
- watchOS
- 9+
var encoderConfiguration: HTTPRequestEncoder.Configuration
Other members in extension
Type members
init(upgradeConfiguration: NIOTypedHTTPClientUpgradeConfiguration<UpgradeResult>
) Initializes a new
NIOUpgradableHTTPClientPipelineConfiguration
with default values.
Instance members
var enableOutboundHeaderValidation: Bool
Whether to validate outbound response headers to confirm that they are spec compliant. Defaults to
true
.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
.