Skip to content

httpConnect

function httpConnect(baseUrl, options?): HttpRpcClient;

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

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.

Parameter Type
baseUrl string
options? HttpConnectOptions

HttpRpcClient