mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-24 04:38:00 +00:00
Motivation: SwiftNIO 2.27.0 added support for synchronous channel options allowing callers to get options synchronously -- saving a future allocation -- if they know they're on the correct event loop. 'HTTP2StreamChannel' should support this. Modifications: - Add 'HTTP2StreamChannel.SynchronousOptions' with conformance to 'NIOSynchronousChannelOptions' Result: Callers can get and set options synchronously on 'HTTP2StreamChannel'