Instance Propertyswift-nio 2.84.0NIOHTTP1
encoderConfiguration
The configuration for the HTTPRequestEncoder
.
- iOS
- 16+
- macOS
- 13+
- tvOS
- 16+
- watchOS
- 9+
var encoderConfiguration: HTTPRequestEncoder.Configuration
The configuration for the HTTPRequestEncoder
.
var encoderConfiguration: HTTPRequestEncoder.Configuration
s8NIOHTTP144NIOUpgradableHTTPClientPipelineConfigurationV07encoderE0AA18HTTPRequestEncoderC0E0Vvp
What are these?4FKRG
import NIOHTTP1
struct NIOUpgradableHTTPClientPipelineConfiguration<UpgradeResult> where UpgradeResult : Sendable
Configuration for an upgradable HTTP pipeline.
final class HTTPRequestEncoder
A ChannelOutboundHandler
that can serialize HTTP requests.
struct Configuration
Configuration for the HTTPRequestEncoder
.
init(upgradeConfiguration: NIOTypedHTTPClientUpgradeConfiguration<UpgradeResult>)
Initializes a new NIOUpgradableHTTPClientPipelineConfiguration
with default values.
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
.