StripeKit 4.0.0
This release allows initializing a StripeClient
with a preconfigured HTTPClient
and a specified EventLoop
to have internal API requests/work to be executed and have EventLoopFuture
s returned on.
let specialConfig = HTTPClient.Configuration(....)
let client = HTTPClient(specialConfig)
let stripe = StripeClient(httpClient: client, eventLoop: myEventLoop, apiKey: "sk_123")