Interface WebsocketClientWriter

All Known Subinterfaces:
SpincastWebsocketClientWriter

public interface WebsocketClientWriter
A Websocket client writer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes the WebSocket connection.
    void
    sendMessage(byte[] message)
    Sends a binary message to the endpoint
    void
    Sends a text message to the endpoint.
  • Method Details

    • sendMessage

      void sendMessage(String message)
      Sends a text message to the endpoint.
    • sendMessage

      void sendMessage(byte[] message)
      Sends a binary message to the endpoint
    • closeConnection

      void closeConnection()
      Closes the WebSocket connection.