We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
backgroundActivityLogger
1 parent 75d7f63 commit 4e74fefCopy full SHA for 4e74fef
Sources/AsyncHTTPClient/HTTPClient.swift
@@ -133,7 +133,7 @@ public class HTTPClient {
133
/// - eventLoopGroup: The `EventLoopGroup` that the ``HTTPClient`` will use.
134
/// - configuration: Client configuration.
135
/// - backgroundActivityLogger: The `Logger` that will be used to log background any activity that's not associated with a request.
136
- public required init(eventLoopGroup: any EventLoopGroup,
+ public required init(eventLoopGroup: any EventLoopGroup = HTTPClient.defaultEventLoopGroup,
137
configuration: Configuration = Configuration(),
138
backgroundActivityLogger: Logger) {
139
self.eventLoopGroup = eventLoopGroup
0 commit comments