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

Upgrade WebSocket live update to use WebSocketSubscription2021 where available #549

Open
timbl opened this issue Feb 23, 2022 · 1 comment

Comments

@timbl
Copy link
Member

timbl commented Feb 23, 2022

WebSocketSubscription2021 is a new more secure version of the web sockets protocol .

  • Be back-compatible: use he old protocol where only it is available.

  • Suggest implement a short-cut discovery by converting the Update-via: header discovery to work for WebSocketSubscription2021

Also do the loner discovery which is being developed. when that is available.

@bourgeoa bourgeoa added this to rdflib Feb 23, 2022
@timea-solid
Copy link
Collaborator

timea-solid commented Jun 20, 2022

Looking at the new spec, webSockets need authentication which means - we need in rdflib authentication - or (rather how I'd do) pass to the UpdateManager the authSession (this might be enough).
Remark: the place that needs change is: https://github.com/linkeddata/rdflib.js/blob/main/src/update-manager.ts#L616

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants