onConnect abstract method

void onConnect(
  1. WebSocket ws
)

Implementation

void onConnect(WebSocket ws);