NodeConnectHandler typedef

NodeConnectHandler = void Function(Connection connection, HubRequest request)

Observes a node's control connection opening, before it registers.

Fires for every accepted connection, including one that never sends NodeRegister — the registry's events cannot see those.

Implementation

typedef NodeConnectHandler =
    void Function(Connection connection, HubRequest request);