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

Kotlin: Allow pluggable HTTP clients #1380

Closed
tjbanghart opened this issue Oct 12, 2023 · 0 comments · Fixed by #1381 or #1519 · May be fixed by #1520
Closed

Kotlin: Allow pluggable HTTP clients #1380

tjbanghart opened this issue Oct 12, 2023 · 0 comments · Fixed by #1381 or #1519 · May be fixed by #1520
Labels
p3 Priority 3

Comments

@tjbanghart
Copy link
Member

tjbanghart commented Oct 12, 2023

The Kotlin SDK currently uses ktor as a HTTP client. I am working in an environment where ktor is not an accepted client preventing me from using the Kotlin SDK.

I'd like to replace the ktor implementation with the Google HTTP Java Client. This client allows for pluggable low level HTTP transport: https://googleapis.github.io/google-http-java-client/http-transport.html. Three transports are provided.

The existing ktor transport may be updated to implement the HttpTransport abstract class and related interfaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment