Skip to main content

babashka.http-client.websocket

A

  • abort!

    Closes this WebSocket's input and output abruptly.

C

  • close!

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

P

  • ping!

    Sends a Ping message with bytes from the given buffer.

  • pong!

    Sends a Pong message with bytes from the given buffer.

S

  • send!

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

W

  • websocket

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