-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Add support for the WebTransport protocol (application-level) in netty-socketio, expanding transport options beyond WebSocket.
Use Case
Modern browsers and networks increasingly support WebTransport, which offers low-latency, full-duplex, multiplexed streams over HTTP/3.
This would benefit use cases such as:
- Real-time multiplayer games
- Collaborative applications
- Low-latency streaming
- Scenarios where WebTransport is preferred over WebSocket
- Environments already using QUIC/HTTP3 stacks (Netty supports this)
Proposed Solution
- Integrate a Java/WebTransport implementation or build on Netty’s HTTP/3/QUIC support.
- Add connection negotiation logic where the client can request WebTransport, falling back to WebSocket when not available.
- Provide a clean API to use WebTransport similarly to existing transports.
- Maintain full backward compatibility.
- Add tests, examples, and documentation on how to use WebTransport within netty-socketio projects.
Impact
- Module: core (or a dedicated
transport-webtransportmodule) - Breaking Change: No
- Backward Compatibility: Yes — WebSockets remain the fallback when WebTransport is unavailable
Additional Context
Original request: NeatGuyCoding/netty-socketio#40
Adding WebTransport support positions the library for modern real-time communication needs. Mockups and usage examples can be added once implementation design is settled.
rxsto
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request