apple / swift-nio-http2

HTTP/2 support for SwiftNIO
https://swiftpackageindex.com/apple/swift-nio-http2/main/documentation/niohttp2
Apache License 2.0
462 stars 82 forks source link

Add additional NIOAsyncChannel config #406

Closed rnro closed 1 year ago

rnro commented 1 year ago

Motivation:

Recent additions to pipeline configuration did not expose some of the NIOAsyncChannel configuration.

Modifications:

Expose backpressureStrategy, isOutboundHalfClosureEnabled.

I think specific naming and object encapsulation for these parameters should be discussed later before SPI is removed and we review the API as a whole.

Result:

Pipelie helpers for NIOAsyncChannel expose backpressureStrategy, isOutboundHalfClosureEnabled.

rnro commented 1 year ago

The API breakages are safe because these changes were added since the last release.

rnro commented 1 year ago

The API breakages are safe because these changes were added since the last release.