@wishcore/wish-sdk
Version:
Wish API for node. Used for building Wish Apps.
16 lines (15 loc) • 326 B
TypeScript
/// <reference types="node" />
export declare class Peer {
name: string;
luid: Buffer;
ruid: Buffer;
rhid: Buffer;
rsid: Buffer;
protocol: string;
online: boolean;
constructor();
static from(peerLike: any): Peer;
toUrl(): string;
equals(b: Peer): boolean;
toString(): string;
}