socketry / async-http

MIT License
298 stars 45 forks source link

allow defining clients on initialization #152

Closed mstate closed 3 months ago

mstate commented 3 months ago

We needed to use vendor provideded SSL certificates to make calls to multiple domains from Async::HTTP::Internet. Unfortunately, the options that you can pass in are only for a single URL. To allow for our use case, we need to define url => Async::HTTP::Client outside of our Async::HTTP::Internet.new call and pass them in as an argument.

Types of Changes

Contribution