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

HTTP upgrade handler for Websockets #5569

Merged
merged 8 commits into from Jan 10, 2023
Merged

Conversation

spericas
Copy link
Member

@spericas spericas commented Nov 30, 2022

Prototype for an HTTP upgrade handler that is part of the WsListener interface. Updated sample to show use case that negotiates a sub-protocol.

Signed-off-by: Santiago Pericasgeertsen santiago.pericasgeertsen@oracle.com

…interface. Updated sample to show use case thatnegotiates a sub-protocol.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
@spericas spericas added websocket WebSocket in Helidon Níma Helidon Níma labels Nov 30, 2022
@spericas spericas self-assigned this Nov 30, 2022
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 30, 2022
@spericas spericas marked this pull request as draft November 30, 2022 18:57
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
…s not support adding the extensions header manually so only server-side code updated.
@tomas-langer
Copy link
Member

Related to #5422

@spericas spericas added this to Sprint Scope in Backlog Dec 8, 2022
@spericas spericas marked this pull request as ready for review December 20, 2022 15:49
Copy link
Member

@tomas-langer tomas-langer left a comment

Choose a reason for hiding this comment

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

This should also change WsSession to get access to the selected sub protocol:

Optional<String> subProtocol();

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
@spericas spericas changed the title Prototype for an HTTP upgrade handler for Websockets HTTP upgrade handler for Websockets Jan 5, 2023
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
@spericas spericas merged commit b70c986 into helidon-io:main Jan 10, 2023
Backlog automation moved this from Sprint Scope to Closed Jan 10, 2023
@Tomas-Kraus
Copy link
Member

Changes in WsUpgradeProvider were moved to WsUpgrader in #5682
Builder from this PR was reworked to serve as abstract implementation for TyrusUpgradeProvider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Níma Helidon Níma OCA Verified All contributors have signed the Oracle Contributor Agreement. websocket WebSocket in Helidon
Projects
Backlog
  
Closed
Development

Successfully merging this pull request may close these issues.

None yet

3 participants