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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
rawEndpoint |
string |
options |
IrohConnectOptions |
Returns
Section titled “Returns”Promise<RpcClient>
