Skip to content

rpcPathFromPrefix

function rpcPathFromPrefix(
namespacedPrefix,
method,
opts?
): string;

Defined in: src/http/common.ts:59

Build an RPC path from an already-namespaced {prefix}/{protocol}.

The client folds the protocol into its prefix once, after introspection, so this is the form its call sites need.

Parameter Type
namespacedPrefix string
method string
opts? { suffix?: string; }
opts.suffix? string

string