Module io.jooby
Package io.jooby

Interface WebSocket.OnConnect

Enclosing interface:
WebSocket

public static interface WebSocket.OnConnect
On connect callback.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    On connect callback with recently created web socket.
  • Method Details

    • onConnect

      void onConnect(@NonNull WebSocket ws)
      On connect callback with recently created web socket.
      Parameters:
      ws - WebSocket.