Skip to content

I can't send message with the wrapped Websocket Object #1840

Answered by matiboy
alejandrozf asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @alejandrozf looking at the source code, it looks like you must pass a "sendingElt" argument to send and sendImmediately otherwise they don't do anything.

So

evt.detail.socketWrapper.sendImmediately("some data 2", document.body);

should do it

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alejandrozf
Comment options

Answer selected by alejandrozf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants