info static method
Publishes the server's self-description — base URL, environment, links,
connections, config. Call it once startup knows its facts (after serve
returns, so the port is real); call it again any time to update only the
sections the new value names (ServerInfo.fromEvents merges per
section on the attacher side).
Like every primitive, this activates the inspector on first use and is a
no-op when the gates say no — an info call is safe in code that also
runs in production.
Implementation
static void info(ServerInfo value) {
event(infoChannel, value.toJson());
}