Skip to content

IrohHttpNode

Defined in: src/client/httpi.ts:28

Minimal typed surface shared by native iroh-http nodes and test adapters.

close(options?): Promise<void>;

Defined in: src/client/httpi.ts:32

Close this Iroh endpoint and release its native resources.

Parameter Type
options? { force?: boolean; }
options.force? boolean

Promise<void>


fetch(input, init?): Promise<Response>;

Defined in: src/client/httpi.ts:30

Execute one Fetch-compatible request over iroh-http/2.

Parameter Type
input string | URL
init? IrohHttpFetchInit

Promise<Response>