onConnectTimeout method

void onConnectTimeout(
  1. EventHandler handler
)

Implementation

void onConnectTimeout(EventHandler handler) {
  on('connect_timeout', handler);
}