Skip to content

reservedPath

function reservedPath(method, opts?): string;

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

Build the path for a server-level reserved method such as __upload_url__.

Reserved names are owned by no protocol and stay flat, at {prefix}/{method}. Kept beside rpcPath so the distinction is visible at the point of use rather than being something each caller has to remember.

Parameter Type
method string
opts? { prefix?: string; }
opts.prefix? string

string