Skip to content

Commit

Permalink
Minor documenation updates
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Nov 15, 2024
1 parent 9154802 commit 6d796fd
Show file tree
Hide file tree
Showing 2 changed files with 3 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 @@ -26,7 +26,7 @@ public struct HTTP1Channel: ServerChildChannel, HTTPChannelHandler {
public struct Configuration: Sendable {
/// Additional channel handlers to add to channel pipeline after HTTP part decoding and before HTTP request handling
public var additionalChannelHandlers: @Sendable () -> [any RemovableChannelHandler]
/// Time before closing an idle channel
/// Time before closing an idle channel.
public var idleTimeout: TimeAmount?

/// Initialize HTTP1Channel.Configuration
Expand Down
3 changes: 2 additions & 1 deletion Sources/HummingbirdHTTP2/HTTP2Channel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ public struct HTTP2UpgradeChannel: HTTPChannelHandler {

/// Initialize HTTP2UpgradeChannel.Configuration
/// - Parameters:
/// - idleTimeout: How long connection is kept idle before closing
/// - idleTimeout: How long connection is kept idle before closing. A connection is considered idle when it has no open streams
/// - maxGraceCloseTimeout: Maximum amount of time to wait for client response before all streams are closed after second GOAWAY
/// - maxAgeTimeout: Maximum amount of time for a connection to be open.
/// - streamConfiguration: Configuration applieds to HTTP2 stream channels
public init(
idleTimeout: Duration? = nil,
Expand Down

0 comments on commit 6d796fd

Please sign in to comment.