Skip to content

Commit

Permalink
Conform Values to ChildChannelValue
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Apr 30, 2024
1 parent 052b178 commit 06b2786
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/HummingbirdCore/Server/HTTP/HTTP1Channel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import NIOCore
import NIOHTTPTypes
import NIOHTTPTypesHTTP1

extension NIOAsyncChannel: ChildChannel {
extension NIOAsyncChannel: ChildChannelValue {
public var eventLoop: EventLoop { self.channel.eventLoop }
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/HummingbirdHTTP2/HTTP2Channel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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<
Expand Down

0 comments on commit 06b2786

Please sign in to comment.