Instance Propertyhummingbird 2.5.0HummingbirdCore
idleTimeout
Time before closing an idle channel.
var idleTimeout: TimeAmount?
Time before closing an idle channel.
var idleTimeout: TimeAmount?
s15HummingbirdCore12HTTP1ChannelV13ConfigurationV11idleTimeout7NIOCore10TimeAmountVSgvp
What are these?2E3MW
import HummingbirdCore
struct Configuration
HTTP1Channel configuration
struct HTTP1Channel
Child channel for processing HTTP1
struct TimeAmount
Represents a time interval.
init(additionalChannelHandlers: @autoclosure @escaping () -> [any RemovableChannelHandler] = [], idleTimeout: TimeAmount? = nil)
Initialize HTTP1Channel.Configuration
var additionalChannelHandlers: () -> [any RemovableChannelHandler]
Additional channel handlers to add to channel pipeline after HTTP part decoding and before HTTP request handling