What I know is, SockJS is operating in above some technology such as Websocket, Pooling, etc. Then the message is structured based on STOMP protocols.
But I think nowaday