Please document how to use middleware with GuzzleClient
rulatir opened this issue · comments
Please document how to use middlewares with GuzzleClient. I am trying to add a middleware to add an "illegal" query param for cache busting. The way of doing things as documented for working with GuzzleHttp\Client
directly doesn't seem to be working with GuzzleClient. Please add a working example.
I'm able to use kamermans\OAuth2 middleware for authing requests in-flight. Wire up your Guzzle setting the Handler in the Client and pass it along to the GuzzleService().