From 06b2786ba55d40cb51fd3932935e6d455242390b Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Tue, 30 Apr 2024 13:04:26 +0000 Subject: [PATCH] Conform Values to ChildChannelValue --- Sources/HummingbirdCore/Server/HTTP/HTTP1Channel.swift | 2 +- Sources/HummingbirdHTTP2/HTTP2Channel.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/HummingbirdCore/Server/HTTP/HTTP1Channel.swift b/Sources/HummingbirdCore/Server/HTTP/HTTP1Channel.swift index e2c0cb916..a292d32bb 100644 --- a/Sources/HummingbirdCore/Server/HTTP/HTTP1Channel.swift +++ b/Sources/HummingbirdCore/Server/HTTP/HTTP1Channel.swift @@ -18,7 +18,7 @@ import NIOCore import NIOHTTPTypes import NIOHTTPTypesHTTP1 -extension NIOAsyncChannel: ChildChannel { +extension NIOAsyncChannel: ChildChannelValue { public var eventLoop: EventLoop { self.channel.eventLoop } } diff --git a/Sources/HummingbirdHTTP2/HTTP2Channel.swift b/Sources/HummingbirdHTTP2/HTTP2Channel.swift index 9d33e84d0..a54095254 100644 --- a/Sources/HummingbirdHTTP2/HTTP2Channel.swift +++ b/Sources/HummingbirdHTTP2/HTTP2Channel.swift @@ -25,7 +25,7 @@ import NIOSSL /// Child channel for processing HTTP1 with the option of upgrading to HTTP2 public struct HTTP2UpgradeChannel: HTTPChannelHandler { - public struct Value: ChildChannel { + public struct Value: ChildChannelValue { let negotiatedResult: EventLoopFuture< NIONegotiatedHTTPVersion<