Need help on createWebSocketServer
, missing front-end code
#563
Unanswered
MarByteBeep
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When trying to follow the docs here:
https://github.com/solidjs-community/solid-primitives/tree/main/packages/websocket
it's not clear to me how I should use
pingPong
, (see Setting up a websocket server) in a front-end situation. That constant has a single method calledconnect()
, but when trying to call that function from front-end, I getCannot connect to websocket server on the server itself
.So to me it's not entirely clear on how to use
createWebSocketServer
. It would be great if the documentation contains a simple working example with both front-end and back-end functionality.Beta Was this translation helpful? Give feedback.
All reactions