Interface WebSocketConnection


  • public interface WebSocketConnection
    Interface for sending and receiving messages through a web socket connection.
    • Method Detail

      • send

        void send​(java.lang.String message)
      • listen

        void listen​(java.util.function.Consumer<java.lang.String> callback)
      • close

        void close()