Module io.jooby
Package io.jooby

Interface WebSocket.WriteCallback

Enclosing interface:
WebSocket

public static interface WebSocket.WriteCallback
Callback for sending messages.
  • Field Details

  • Method Details

    • operationComplete

      void operationComplete(@NonNull WebSocket ws, @Nullable Throwable cause)
      Notify about message sent to client.
      Parameters:
      ws - Websocket.
      cause - Error or null for success messages.