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
This is problematic because I had to copy over code from the underlying AccessTokenDispatcher and Dispatcher classes.
There are already methods on the Client object taking a HttpTransport object, but due to the nature of the used Http libraries there's no way to construct a HttpTransport object with a HttpRequestInitializer since even the createRequestFactory methods are final.
I guess the easiest solution would be to provide a method on the Client object taking a HttpRequestIntializer.
A usecase would be to configure the read and connect timeouts. Currently, the only possibility to do this is e.g.
This is problematic because I had to copy over code from the underlying
AccessTokenDispatcher
andDispatcher
classes.There are already methods on the
Client
object taking aHttpTransport
object, but due to the nature of the used Http libraries there's no way to construct aHttpTransport
object with aHttpRequestInitializer
since even thecreateRequestFactory
methods are final.I guess the easiest solution would be to provide a method on the
Client
object taking aHttpRequestIntializer
.┆Issue is synchronized with this Asana task
The text was updated successfully, but these errors were encountered: