Skip to content

Commit

Permalink
Update function header comments
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Nov 6, 2024
1 parent 60f2b79 commit e4a1e09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Sources/HummingbirdHTTP2/HTTP2Channel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ public struct HTTP2UpgradeChannel: ServerChildChannel {
/// Initialize HTTP2Channel
/// - Parameters:
/// - tlsConfiguration: TLS configuration
/// - additionalChannelHandlers: Additional channel handlers to add to channel pipeline
/// - additionalChannelHandlers: Additional channel handlers to add to stream channel pipeline after HTTP part decoding and
/// before HTTP request handling
/// - responder: Function returning a HTTP response for a HTTP request
@available(*, deprecated, renamed: "HTTP1Channel(tlsConfiguration:configuration:responder:)")
public init(
Expand All @@ -95,7 +96,7 @@ public struct HTTP2UpgradeChannel: ServerChildChannel {
/// Initialize HTTP2Channel
/// - Parameters:
/// - tlsConfiguration: TLS configuration
/// - additionalChannelHandlers: Additional channel handlers to add to channel pipeline
/// - configuration: HTTP2 channel configuration
/// - responder: Function returning a HTTP response for a HTTP request
public init(
tlsConfiguration: TLSConfiguration,
Expand Down
4 changes: 3 additions & 1 deletion Sources/HummingbirdHTTP2/HTTPServerBuilder+http2.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ extension HTTPServerBuilder {
/// ```
/// - Parameters:
/// - tlsConfiguration: TLS configuration
/// - additionalChannelHandlers: Additional channel handlers to call before handling HTTP
/// - additionalChannelHandlers: Additional channel handlers to add to stream channel pipeline after HTTP part decoding and
/// before HTTP request handling
/// - Returns: HTTPChannelHandler builder
@available(*, deprecated, renamed: "http2Upgrade(tlsConfiguration:configuration:)")
public static func http2Upgrade(
Expand All @@ -54,6 +55,7 @@ extension HTTPServerBuilder {
/// )
/// ```
/// - Parameters:
/// - tlsConfiguration: TLS configuration
/// - configuration: HTTP2 Upgrade channel configuration
/// - Returns: HTTPChannelHandler builder
public static func http2Upgrade(
Expand Down

0 comments on commit e4a1e09

Please sign in to comment.