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

allow custom interceptor for retrofit2client #1435

Open
sixinli opened this issue Jan 22, 2020 · 0 comments
Open

allow custom interceptor for retrofit2client #1435

sixinli opened this issue Jan 22, 2020 · 0 comments

Comments

@sixinli
Copy link
Contributor

sixinli commented Jan 22, 2020

reading from https://inthecheesefactory.com/blog/retrofit-2.0/en section Use an Interceptor from OkHttp the new way of specifying an interceptor is through the okhttpclient, is it possible to expose that to the retrofit2client?

use case: we want to modify request headers

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

1 participant