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

Allow separate client for streaming calls #128

Merged
merged 2 commits into from
Oct 11, 2023
Merged

Allow separate client for streaming calls #128

merged 2 commits into from
Oct 11, 2023

Conversation

pkwarren
Copy link
Contributor

Streaming calls often require longer timeouts (for long lived streams) and enabling pings (to keep the underlying connection alive). Update ConnectOkHttpClient to take a second OkHttpClient argument to the constructor to be used for streaming calls.

Fixes #13.

Streaming calls often require longer timeouts (for long lived streams)
and enabling pings (to keep the underlying connection alive). Update
ConnectOkHttpClient to take a second OkHttpClient argument to the
constructor to be used for streaming calls.

Fixes #13.
Copy link
Contributor

@rebello95 rebello95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth updating conformance tests to specify a different client for streaming?

@pkwarren
Copy link
Contributor Author

Is it worth updating conformance tests to specify a different client for streaming?

Without some sort of long running test that relies on ping to keep it alive, I don't know if it is worth it.

@pkwarren pkwarren merged commit 34cf5b1 into main Oct 11, 2023
7 checks passed
@pkwarren pkwarren deleted the pkw/issue-13 branch October 11, 2023 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow enabling HTTP/2 PING and disabling read timeout for streams
2 participants