onServerConnected method

void onServerConnected(
  1. ServerConnectedParams params
)

Reports that the server is running. This notification is issued once after the server has started running but before any requests are processed to let the client know that it started correctly.

It is not possible to subscribe to or unsubscribe from this notification.

Implementation

void onServerConnected(ServerConnectedParams params) {}