interface · Browser and Node
ViaArrival
What a gateway gets for each VIA packet that names it.
@toip-tools/mesh-transportView sourceimport { type ViaArrival } from "@toip-tools/mesh-transport";
Declaration
interface ViaArrival {
packet: Uint8Array;
pid: Uint8Array;
via: Extract<Packet, { kind: "via" }>;
hops: number;
link: string;
}
Properties
packetrequiredUint8Array<ArrayBufferLike>pidrequiredUint8Array<ArrayBufferLike>viarequired{ kind: "via"; gatewayHint: Uint8Array; routeBlock: Uint8Array; enc: Uint8Array; ct: Uint8Array; signature: Uint8Array; }hopsrequirednumberlinkrequiredstring