AnnounceInfo
import type { AnnounceInfo } from "https://raw.githubusercontent.com/rclarey/torrent/master/mod.ts";
interface AnnounceInfo {
compact?: CompactValue;
downloaded: number;
event: AnnounceEvent;
infoHash: Uint8Array;
ip: string;
key?: Uint8Array;
left: number;
numWant?: number;
peerId: Uint8Array;
port: number;
uploaded: number;
}§Properties
§
compact?: CompactValue
[src]Indicates whether or not the client accepts a compact response
§
event: AnnounceEvent
[src]Indicates the purpose of the request