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

can you add onstartListener? #105

Open
jiqimaogou opened this issue Jun 28, 2015 · 2 comments
Open

can you add onstartListener? #105

jiqimaogou opened this issue Jun 28, 2015 · 2 comments
Labels

Comments

@jiqimaogou
Copy link

can you add a callback when the request is beginning to start.

@orhanobut
Copy link
Owner

what do you expect to have in this callback? I am curious about the case

@kardeslik
Copy link
Collaborator

@jiqimaogou OkHttp Interceptor may satisfy your need. For example, I use it to calculate mac of request and put the calculation to the outgoing headers.

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

No branches or pull requests

3 participants