Would be useful to have an option to inject your own http client instead of preset default Guzzle client or curl. For example injecting guzzle client where I can implement my custom middleware and logging.
Potentially can create a public method in DataService called setClient which would expect a parameter for \Psr\Http\Client\ClientInterface ?
Would be useful to have an option to inject your own http client instead of preset default Guzzle client or curl. For example injecting guzzle client where I can implement my custom middleware and logging.
Potentially can create a public method in
DataService
calledsetClient
which would expect a parameter for\Psr\Http\Client\ClientInterface
?