Skip to content

ServiceDescription

Defined in: src/client/introspect.ts:63

One protocol’s surface, as reported by vgi_rpc.Reflection.v1.

hostedProtocols: string[];

Defined in: src/client/introspect.ts:74

Every protocol the server hosts, reflection included. Comes from the list_protocols hop, so it is empty when the caller named a protocol and the bootstrap hop was skipped.


methods: MethodInfo[];

Defined in: src/client/introspect.ts:76

Every method of the described protocol.


protocolHash: string;

Defined in: src/client/introspect.ts:70

The canonical digest of this protocol’s description: identical in every port that hosts the same protocol.


protocolName: string;

Defined in: src/client/introspect.ts:65

The described protocol’s wire name – the routing key every request carries.


protocolVersion: string;

Defined in: src/client/introspect.ts:67

The protocol’s declared semver, or "" when it declares none.


optional requestVersion?: string;

Defined in: src/client/introspect.ts:85

The wire request-framing version the server reports, from the same hop and absent under the same condition.


optional serverId?: string;

Defined in: src/client/introspect.ts:82

The serving process’s opaque identity, from the list_protocols hop.

A property of the server, not of the protocol — two processes serving one protocol describe it identically — so it is absent when the caller named a protocol and the bootstrap hop was skipped.