configureUpgradableHTTPClientPipeline(configuration:)

Configure a ChannelPipeline for use as an HTTP client.

HTTPTypedPipelineSetup.swift:220
iOS
16+
macOS
13+
tvOS
16+
watchOS
9+
func configureUpgradableHTTPClientPipeline<UpgradeResult>(configuration: NIOUpgradableHTTPClientPipelineConfiguration<UpgradeResult>) throws -> EventLoopFuture<UpgradeResult> where UpgradeResult : Sendable

Parameters

configuration

The HTTP pipeline’s configuration.

Returns

An EventLoopFuture that is fired once the pipeline has been upgraded or not and contains the UpgradeResult.