The internal instance of the Java wrapped class.
Set a data handler.
Set a drain handler on the stream.
Set an end handler.
Set an exception handler.
Return the headers corresponding to the last request for this socket or the websocket handshake Any cookie headers will be removed for security reasons
Return the local address for this socket
Return the remote address for this socket
Set the maximum size of the write queue to
Return the URI corresponding to the last request for this socket or the websocket handshake
Helper method wrapping invocations and returning the Scala type, once again to help provide fluent return types
Write some data to the stream.
SockJSSocket is created it automatically registers an event handler with the event bus, the ID of that
handler is given by
This will return
true if there are more bytes in the write queue than the value set using