Skip to content

irohConnect

function irohConnect(rawEndpoint, options?): Promise<RpcClient>;

Defined in: src/client/iroh.ts:248

Connect the ordinary VGI raw client over a native Iroh bidirectional stream. HTTP-over-Iroh is available separately through httpiConnect; it uses the iroh-http/2 codec rather than raw Arrow-mux framing.

Parameter Type
rawEndpoint string
options IrohConnectOptions

Promise<RpcClient>