Month: Ноябрь 2022

Home / 2022 / Ноябрь

Setting up a WebSocket server in Node js

On click, we get the current value for message (we set this on state as this.state.message whenever the input changes) and then call to this.websocketClient.send(). Remember that the send() function we’re calling here is the same one we wired up and assigned to the connection object back in /websockets/client.js. Conditionally, assuming that an actual message…

Продолжить читать...

Сообщить об опечатке

Текст, который будет отправлен нашим редакторам: