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

Websocket support for node #17

Closed
dmonad opened this issue Jun 26, 2020 · 2 comments
Closed

Websocket support for node #17

dmonad opened this issue Jun 26, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@dmonad
Copy link
Member

dmonad commented Jun 26, 2020

See https://discuss.yjs.dev/t/nodejs-support-for-y-websocket/132

Huly®: YJS-527

@dmonad dmonad added the enhancement New feature or request label Jun 26, 2020
@dmonad dmonad self-assigned this Jun 26, 2020
@dmonad
Copy link
Member Author

dmonad commented Jul 10, 2020

@canadaduane

This is now supported as a third parameter.

new WebsocketProvider(url, room, ydoc, { WebSocketPolyfill: MyWebsocketPolyfill }). I haven't tested this with nodejs and ws yet, but I imagine this is how it should work.

@dmonad dmonad closed this as completed Jul 10, 2020
@codesiddhant
Copy link

not working at all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants