onOpen method

void onOpen(
  1. OpenSocket fn
)

Implementation

void onOpen(OpenSocket fn) {
  socketNotifier!.open = fn;
}