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

Will WebSocket support be part of the Solid specification #50

Closed
acoburn opened this issue Sep 20, 2019 · 5 comments
Closed

Will WebSocket support be part of the Solid specification #50

acoburn opened this issue Sep 20, 2019 · 5 comments

Comments

@acoburn
Copy link
Member

acoburn commented Sep 20, 2019

The 0.8 Solid Spec defines an API for WebSockets. Will that become part of the 1.0 Solid specification or is that feature at risk? A WebSocket API is not currently mentioned in the Solid Ecosystem document.

@RubenVerborgh
Copy link
Contributor

RubenVerborgh commented Sep 20, 2019

We definitely need a mechanism for realtime updates, possibly through WebSockets.

However, what is sketched in the v0.8 draft is a quick hack with several known flaws. It was never engineered to last. We should not continue it.

The Ecosystem document has a section for update notifications, where this fits under. However, since this will be a client-server topic, its top heading probably needs renaming.

@RubenVerborgh
Copy link
Contributor

Also, there has been a requirements engineering effort regarding realtime updates. It can be used as a basis for engineering a proper solution.

@kjetilk
Copy link
Member

kjetilk commented Sep 24, 2019

There is also an open question whether the realtime update requirements could be satisfied with HTTP/2, with server sent events (I'm not a big fan) or something like it. I think that should be a part of this discussion.

@elf-pavlik
Copy link
Member

elf-pavlik commented Apr 6, 2020

#122 discusses possibility of using http including option of using http streaming response body rather than server-sent events (EventSource)

@timbl
Copy link
Contributor

timbl commented Jun 29, 2021

Web socket support is already IN the solid ecosystem. Has been for years, before NSS even. I think ldnode and ldphp supported it IIRC. Live update of displays by multiple clients is crucial to the collaborative editing apps, and to solid chat of course.

It is currently being upgraded to include an authentication token to prevent it being eaves-dropped on.

Enhancements could include sending a patch back to the client, instead of just a flag that the document has changed.
Enhancements can be discussed in other issues.

But the answer is "yes".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

7 participants