T
T
Triborg-3332020-06-16 19:38:29
Node.js
Triborg-333, 2020-06-16 19:38:29

Hello, How to pass object to websocke by JS key?

Hello, How to pass an object to websocke by JS key?

into a socket, for example, server: socket.emit('update', object); client: socket.on('update', (data)=>{})

I want to understand how to accept an object by key?)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question