Skip to content

parseIrohProxyProtocolV2

function parseIrohProxyProtocolV2(input, maximumBytes?): ProxyProtocolV2IrohIdentity;

Defined in: src/launcher/proxy-protocol-v2.ts:216

Parse the dedicated PROXY/UNSPEC form emitted by a trusted Iroh bridge.

Parameter Type Default value
input Uint8Array undefined
maximumBytes number DEFAULT_MAX_PROXY_V2_BYTES

ProxyProtocolV2IrohIdentity