ServiceDescription
Defined in: src/client/introspect.ts:63
One protocol’s surface, as reported by vgi_rpc.Reflection.v1.
Properties
Section titled “Properties”hostedProtocols
Section titled “hostedProtocols”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
Section titled “methods”methods: MethodInfo[];Defined in: src/client/introspect.ts:76
Every method of the described protocol.
protocolHash
Section titled “protocolHash”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
Section titled “protocolName”protocolName: string;Defined in: src/client/introspect.ts:65
The described protocol’s wire name – the routing key every request carries.
protocolVersion
Section titled “protocolVersion”protocolVersion: string;Defined in: src/client/introspect.ts:67
The protocol’s declared semver, or "" when it declares none.
requestVersion?
Section titled “requestVersion?”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.
serverId?
Section titled “serverId?”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.
