You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would add the possibility to add a Dump method which dumps request or response.
Debug Option
Add Debug option to dump requests and responses.
Do not export RequestCallback and ResponseCallback
Use an unexported slice of callbacks and append custom callbacks. If we initiate the slice with the default error handler we do not need additional documentation for error handling
Propagate error.
Make options thread-safe
Currently it is possible to change an already initiated client with the functional options. For example it is possible to change the http.client with httpclient.WithHTTPClient
Do not embed Client in struct.
The text was updated successfully, but these errors were encountered:
Custom Response
Instead of
http.Response
return ahttpclient.Response
like:This could possibly fix #8 .
It would add the possibility to add a
Dump
method which dumps request or response.Debug Option
Add Debug option to dump requests and responses.
Do not export
RequestCallback
andResponseCallback
Use an unexported slice of callbacks and append custom callbacks. If we initiate the slice with the default error handler we do not need additional documentation for error handling
Propagate error.
Make options thread-safe
Currently it is possible to change an already initiated client with the functional options. For example it is possible to change the
http.client
withhttpclient.WithHTTPClient
Do not embed Client in struct.
The text was updated successfully, but these errors were encountered: