Skip to content

refactor(ws): replace force_http2 with version for HTTP version selection#1139

Merged
0x676e67 merged 1 commit intomainfrom
ws
Apr 12, 2026
Merged

refactor(ws): replace force_http2 with version for HTTP version selection#1139
0x676e67 merged 1 commit intomainfrom
ws

Conversation

@0x676e67
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request replaces the force_http2 method with a more generic version method in the WebSocketRequestBuilder to allow explicit configuration of the HTTP version used for handshakes. While this improves API consistency, the reviewer noted that removing the existing method is a breaking change and recommended retaining force_http2 as a deprecated alias to support existing users during the transition.

Comment thread src/client/ws.rs
@0x676e67 0x676e67 merged commit 9b0fbd9 into main Apr 12, 2026
22 checks passed
@0x676e67 0x676e67 deleted the ws branch April 12, 2026 22:46
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.

1 participant