Skip to content

httpConnect

function httpConnect(baseUrl, options?): RpcClient;

Defined in: src/client/connect.ts:46

Connect to a vgi-rpc server over HTTP. The returned client lazily introspects the server (caching __describe__) on the first call and transparently handles zstd compression, authorization, and 413 request externalization.

ParameterType
baseUrlstring
options?HttpConnectOptions

RpcClient