Skip to content

IrohEndpoint

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

Parsed canonical address and negotiated protocol for a VGI Iroh endpoint.

readonly alpn: "vgi-rpc/arrow-mux/1" | "iroh-http/2";

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

ALPN required by the selected transport scheme.


readonly basePath: string;

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

Canonical HTTP base path, or an empty string for raw Iroh.


readonly endpointId: string;

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

Remote endpoint’s canonical 64-character lowercase hexadecimal ID.


readonly endpointIdBytes: Uint8Array;

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

Remote endpoint ID decoded into its 32-byte binary representation.


readonly scheme: "iroh" | "httpi";

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

URI transport scheme.