Skip to content

pickApplicationProtocol

function pickApplicationProtocol(listing): string;

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

Pick the protocol to describe out of what a server says it hosts.

The first one that is not framework-reserved: reflection and identity are co-hosted on every server, so “the protocol” a caller means is the application’s, and a client that took the literal first would describe reflection to itself on half the fleet.

Parameter Type
listing ProtocolListDesc

string