WebSockets data


#1

In enonic doc’s session about websockets there is an object returned when the handshake is successful (webSocket: {}). Inside it there’s a data object and i want to know if this values is only accessible by the server or can a client get and modify it too ?


#2

This is a websocket server side data. Accessible in webSocketEvent callback event object.


#3

You could always have a look at this example app that uses websockets: https://market.enonic.com/vendors/enonic/com.enonic.app.demo.morse.chat