Skip to content

adaptServiceDescription

function adaptServiceDescription(wire, listing?): ServiceDescription;

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

Present a reflection reply in this module’s client-side shape.

ServiceDescription is a client-side view, not a wire format – it was only ever the latter by accident of there having been one encoding. Keeping it means the client, its callers and its tests move to reflection without any of them changing shape.

Parameter Type
wire ServiceDescriptionDesc
listing? ProtocolListDesc

ServiceDescription