-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Custom Header and Response Status Check #18
Conversation
Add ReponseStatusFn to determine request status
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yo @tatashidayat, thanks for this PR. It looks good on the logic and is working properly.
I just need a few necessary changes mentioned below.
Hi @tatashidayat, do you plan to follow up on this PR? |
Hi @OutdatedGuy, I haven't seen this PR for a while. Let me address some comments. |
* add doc on ResponseStatusFn typedef * add default responseStatusFn * add constructor header default value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Hi @OutdatedGuy,
I found that this package is awesome, but in my usecase I need custom headers and response callback to determine the connection status.
So I think it would be great to add those to this package.
Please help to review it.