Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AnnounceResponse

import type { AnnounceResponse } from "https://raw.githubusercontent.com/rclarey/torrent/master/mod.ts";
interface AnnounceResponse {
complete: number;
incomplete: number;
interval: number;
peers: AnnouncePeer[];
}

§Properties

§
complete: number
[src]

Number of peers that have the whole file

§
incomplete: number
[src]

Number of peers that do not have the whole file

§
interval: number
[src]

Number of seconds the client is advised to wait between regular requests

§

List of peers that the client can connect to