Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please document how to use middleware with GuzzleClient #162

Open
rulatir opened this issue May 22, 2018 · 1 comment
Open

Please document how to use middleware with GuzzleClient #162

rulatir opened this issue May 22, 2018 · 1 comment

Comments

@rulatir
Copy link

rulatir commented May 22, 2018

StackOverflow question

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.

@tlorens
Copy link

tlorens commented Jan 28, 2019

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().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants