mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-25 04:47:50 +00:00
Motivation The most common mechanism for negotiating HTTP/2 is to use ALPN. We should support that. Modifications: Added a `ChannelPipeline` extension to configure a pipeline for ALPN-based upgrade. Added a property that indicates the ALPN tokens for HTTP/2 and HTTP/1.1 use. Result: Should be possible to configure a channel pipeline for HTTP/2 work.