-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
extend Http class to be able to set a hook #2381
Comments
you mean the Java API, and the |
Hi, |
I guess I missed something - I need to fork first to be able to contribute... |
@tstanczak you can just add one or more methods to the existing |
Yes, the code does modify existing class and is ready and tested. It's just that I never used GitHub collaboration before, always worked in a corporation environment with enough access rights to just create a branch and push it into the original repository. Now I think the way to go is to create a fork, make a branch there and make a PR out of the fork. I'll do it after my daily work. |
I have just made a PR. |
@tstanczak merged with thanks 👍 |
1.4.1 released |
Creating a Http request from Java is easy and comfortable yet doesn't expose all possibilities of the underlying HttpRequestBuilder, like the ability to set a RuntimeHook.
There are workarounds, but already having a general hook it would be easier if being able to set on such manually created Http so that all http requests travel the same way.
The text was updated successfully, but these errors were encountered: