init(eventLoopGroup:configuration:backgroundActivityLogger:)

Create an HTTPClient with specified EventLoopGroup and configuration.

HTTPClient.swift:143
convenience init(eventLoopGroup: any EventLoopGroup = HTTPClient.defaultEventLoopGroup, configuration: Configuration = Configuration(), backgroundActivityLogger: Logger)

Parameters

eventLoopGroup

The EventLoopGroup that the HTTPClient will use.

configuration

Client configuration.

backgroundActivityLogger

The Logger that will be used to log background any activity that’s not associated with a request.