The main reason behind having a HttpClientAdapter is the ability to customize the http client to suit your needs. However I dare say for the vast majority whatever default we come up with will work just as well.
It would be good to be able to refactor it so that:
- Emitter URL is passed into the emitter not into the Adapter
- If the adapter is null then we create a standard OkHttpClient to use
The main reason behind having a HttpClientAdapter is the ability to customize the http client to suit your needs. However I dare say for the vast majority whatever default we come up with will work just as well.
It would be good to be able to refactor it so that: