Skip to content

kRPC Websocket fallback #290

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

Open
rocketraman opened this issue Feb 18, 2025 · 0 comments
Open

kRPC Websocket fallback #290

rocketraman opened this issue Feb 18, 2025 · 0 comments
Assignees
Labels
feature New feature or request

Comments

@rocketraman
Copy link

Is your feature request related to a problem? Please describe.
kRPC currently uses websockets.

While on the modern web websockets are generally reliable and usable, in some cases websockets may still not work due to infrastructure components such as older proxies or other similar limitations.

Describe the solution you'd like
It would be good for the kRPC transport to have a fallback in the case of a failure to establish a websocket. A long poll or SSE fallback for the KrpcTransport.receive method may be useful to increase resilience of kRPC in environments in which websockets are not possible to use.

@rocketraman rocketraman added the feature New feature or request label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants