interface Peers {
    address: string;
    clientName: string;
    clientIsChoked: boolean;
    clientIsInterested: boolean;
    flagStr: string;
    isDownloadingFrom: boolean;
    isEncrypted: boolean;
    isIncoming: boolean;
    isUploadingTo: boolean;
    isUTP: boolean;
    peerIsChoked: boolean;
    peerIsInterested: boolean;
    port: number;
    progress: number;
    rateToClient: number;
    rateToPeer: number;
}

Properties

address: string
clientName: string
clientIsChoked: boolean
clientIsInterested: boolean
flagStr: string
isDownloadingFrom: boolean
isEncrypted: boolean
isIncoming: boolean
isUploadingTo: boolean
isUTP: boolean
peerIsChoked: boolean
peerIsInterested: boolean
port: number
progress: number
rateToClient: number
rateToPeer: number