Ability to define WebSocket Extensions
See original GitHub issueEnvironment Details
- Helidon Version: 2.0.0-M2
- Helidon SE or Helidon MP: MP
- JDK version: N/A
- OS: N/A
- Docker version (if applicable):
Problem Description
WebSocket implementation does not permit defining of installed extensions. This is predicated on another change being performed in Tyrus before this can work: (eclipse-ee4j/tyrus#694).
I think the change would be overriding the #getInstalledExtensions
method in here but not sure of how the actual Extension classes should be passed/loaded into it.
Steps to reproduce
N/A
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
WebSocket extensions as plugins - The If Works
The Sec-WebSocket-Extensions header must be parsed and serialized according to an ABNF grammar that refers to grammars defined in HTTP. Either ...
Read more >Writing WebSocket servers - Web APIs | MDN
Extensions control the WebSocket frame and modify the payload, while subprotocols structure the WebSocket payload and never modify anything.
Read more >faye/websocket-extensions-node - GitHub
This library aims to allow a WebSocket extension to be written and used with any protocol library, by defining abstract representations of frames...
Read more >WebSocket - The Modern JavaScript Tutorial
Sec-WebSocket-Extensions: deflate-frame means that the browser supports data compression. An extension is something related to transferring the ...
Read more >WebSockets - A Conceptual Deep Dive - Ably Realtime
We cover what a WebSocket is, how WebSockets work, the challenges of building with WebSockets, and considerations for scaling WebSockets.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve submitted a PR to Tyrus to link this to
WebsocketContainer#getInstalledExtensions
(eclipse-ee4j/tyrus#695). With this it should just be a case of overridingTyrusServerContainer#getInstalledExtensions
inTyrusSupport
.Implemented by PR #1934. Thanks @dansiviter