httpiConnect
function httpiConnect(rawBaseUrl, options?): Promise<HttpRpcClient>;Defined in: src/client/httpi.ts:119
Connect the ordinary VGI HTTP client over native iroh-http/2.
The adapter converts VGI’s canonical 64-hex EndpointId URI to iroh-http’s base-32 hostname internally. HTTP capability discovery, response budgets, compression, authorization, continuation calls, and external locations all remain owned by httpConnect.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
rawBaseUrl |
string |
options |
HttpiConnectOptions |
Returns
Section titled “Returns”Promise<HttpRpcClient>
