Skip to main content

WebSocket

6
  • abort!

    Closes this WebSocket's input and output abruptly.

  • close!

    Initiates an orderly closure of this WebSocket's output by sending a Close message with the given status code and the ...

  • ping!

    Sends a Ping message with bytes from the given buffer.

  • pong!

    Sends a Pong message with bytes from the given buffer.

  • send!

    Sends a message to the WebSocket. `data` can be a CharSequence (e.g. string), byte array or ByteBuffer Options: *...

  • websocket

    Builds `java.net.http.Websocket` client. * `:uri` - the uri to request (required). May be a string or map of `:sc...