connect property
Opens the control connection, replacing the default wss:///ws:// dial
to hubUri.
Evaluated on every connection attempt. The seam for a transport omnyhub does not ship (a unix socket, an in-memory pipe) and for driving a runtime against a loopback connection in tests. When set, hubUri, securityContext, onBadCertificate, headers and pingInterval are the caller's business — the runtime does not use them.
Implementation
final Future<Connection> Function()? connect;