The caller's attributes (admission / Gate 3), e.g. aster.role.
Peer's UDP { host, port } when the selected QUIC path is direct.
undefined when the call is being relayed.
Relay server URL when the selected path goes through a relay.
undefined for direct paths. The peer's own IP is not visible
through a relay path.
Round-trip-time for the selected path in microseconds, or
undefined if not yet measured.
Aborted when the call is cancelled on the server: the peer cancelled or
went away, or the deadline (enforced by Rust) passed. Pass it to work
the handler starts (fetch, timers, child calls). Outside a dispatched
call it never aborts.
Seconds until deadline, or undefined if no deadline set.
True if deadline has passed.
StaticcurrentReturn the CallContext for the RPC currently being dispatched, or
undefined when called outside a handler invocation.
StaticrunRun fn with this CallContext installed as the current async-local
context. Used by the server dispatcher; application code normally uses
CallContext.current to read the context.
Protected Optional_Server side: resolves attributes on first access when the call carried none.
Protected Optional_Server side: reads the connection's selected path on first access to
peerAddr / relayUrl / rttMicros (one native call, only when
asked for).
Context describing a single RPC invocation.