Close frame.
Close frame. This frame is send to the browser every time the client asks for data on closed connection. This may happen multiple times. Close frame contains a code and a string explaining a reason of closure, like: c[3000,"Go away!"].
Encode messages to a SockJS message frame, it is an array of json encoded messages.
Encode messages to a SockJS message frame, it is an array of json encoded messages. For example: a["message1", "message2"].
Special frame to signal the underlying flow to close the connection abruptly.
Special frame to signal the underlying flow to close the connection abruptly. This frame doesn't contain any payload, an exception will be thrown if encode is called.