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 ?
This is a websocket server side data. Accessible in webSocketEvent
callback event
object.
1 Like
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
1 Like