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

WebSocketClientHandshaker: add public accessors for parameters #13009

Merged
merged 1 commit into from Nov 21, 2022

Conversation

mostroverkhov
Copy link
Contributor

@mostroverkhov mostroverkhov commented Nov 18, 2022

Motivation:

WebSocket client & server handshakers may be extended with custom frame encoder / decoder, however client handshaker parameters are private so cant be passed to custom frame encoder / decoder.

Modifications:

WebSocketClientHandshaker13: add public accessors for parameters.

Result:

Custom frame encoder / decoder may be provided with WebSocket client handshaker parameters.

Motivation:

Websocket client & server handshakers may be extended with custom frame encoder / decoder,
however client handshaker parameters are private so cant be accessed by custom frame encoder / decoder.

Modifications:

WebSocketClientHandshaker: add public accessors for parameters.

Result:

Custom frame encoder / decoder may be provided with websocket client handshaker parameters
@normanmaurer normanmaurer added this to the 4.1.86.Final milestone Nov 21, 2022
@normanmaurer normanmaurer merged commit d24defc into netty:4.1 Nov 21, 2022
normanmaurer pushed a commit that referenced this pull request Nov 21, 2022
Motivation:

Websocket client & server handshakers may be extended with custom frame encoder / decoder,
however client handshaker parameters are private so cant be accessed by custom frame encoder / decoder.

Modifications:

WebSocketClientHandshaker: add public accessors for parameters.

Result:

Custom frame encoder / decoder may be provided with websocket client handshaker parameters
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.

None yet

2 participants