MCPcopy Create free account

hub / github.com/PearInc/PearDownloader.js / functions

Functions77 in github.com/PearInc/PearDownloader.js

↓ 4 callersFunctiononUpdateTick
()
src/lib/torrent.js:1564
↓ 3 callersFunctionchenkDone
()
src/node-filter.js:65
↓ 3 callersFunctiongetBlockPipelineLength
(wire, duration)
src/lib/torrent.js:1740
↓ 3 callersFunctiongetPageHTML
(title, pageHtml)
src/lib/server.js:219
↓ 3 callersFunctionupdateSeedStatus
()
src/lib/torrent.js:1055
↓ 2 callersFunctiongenPieceFilterFunc
(start, end, tried, rank)
src/lib/torrent.js:1212
↓ 2 callersFunctionhandleRequest
()
src/lib/server.js:123
↓ 2 callersFunctionisOriginAllowed
(req)
src/lib/server.js:46
↓ 2 callersFunctiononResponse
(res, data)
src/lib/webconn.js:127
↓ 2 callersFunctionserve404Page
()
src/lib/server.js:153
↓ 2 callersFunctionserveMethodNotAllowed
()
src/lib/server.js:208
↓ 2 callersFunctionshufflePriority
(i)
src/lib/torrent.js:1283
↓ 2 callersFunctiontrySelectWire
(hotswap)
src/lib/torrent.js:1293
↓ 1 callersFunction_onseed
(torrent)
src/pear-torrent.js:369
↓ 1 callersFunctioncleanupPending
()
src/lib/tcp-pool.js:119
↓ 1 callersFunctionencodeRFC5987
(str)
src/lib/server.js:227
↓ 1 callersFunctiongetBrowserRTC
()
src/simple-RTC.js:274
↓ 1 callersFunctiongetBrowserRTC
()
src/worker.js:730
↓ 1 callersFunctiongetMetadataFromURL
(url, cb)
src/lib/torrent.js:394
↓ 1 callersFunctiongetPiecePipelineLength
(wire, duration, pieceLength)
src/lib/torrent.js:1744
↓ 1 callersFunctionisFileList
* Check if `obj` is a W3C `FileList` object * @param {*} obj * @return {boolean}
src/pear-torrent.js:479
↓ 1 callersFunctionisReadable
* Check if `obj` is a node Readable stream * @param {*} obj * @return {boolean}
src/pear-torrent.js:470
↓ 1 callersFunctionmakeCandidateArr
(sdp)
src/worker.js:740
↓ 1 callersFunctionnoop
()
src/file-stream.js:128
↓ 1 callersFunctionrandomInt
* Returns a random integer in [0,high)
src/lib/torrent.js:1751
↓ 1 callersFunctionready
()
src/pear-torrent.js:163
↓ 1 callersFunctionserveFile
(file)
src/lib/server.js:161
↓ 1 callersFunctionserveIndexPage
()
src/lib/server.js:137
↓ 1 callersFunctionserveOptionsRequest
()
src/lib/server.js:104
↓ 1 callersFunctionspeedRanker
()
src/lib/torrent.js:1253
↓ 1 callersFunctionvalidateWire
()
src/lib/torrent.js:1219
FunctionDispatcher
(config)
src/dispatcher.js:30
FunctionFile
(dispatcher, file)
src/file.js:18
FunctionFile
(torrent, file)
src/lib/file.js:16
FunctionFileStream
* Readable stream of a torrent file * * @param {File} file * @param {Object} opts * @param {number} opts.start stream slice of file, starting from
src/file-stream.js:17
FunctionFileStream
* Readable stream of a torrent file * * @param {File} file * @param {Object} opts * @param {number} opts.start stream slice of file, starting from
src/lib/file-stream.js:17
FunctionHttpDownloader
(uri, type, opts)
src/http-downloader.js:15
FunctionNodeFilter
(nodesArray, cb, range)
src/node-filter.js:15
FunctionPearDownloader
(urlStr, token, opts)
src/index.downloader.js:14
FunctionPeer
* Peer. Represents a peer in the torrent swarm. * * @param {string} id "ip:port" string, peer id (for WebRTC peers), or url (for Web Seeds) * @para
src/lib/peer.js:79
FunctionRTCDownloader
(config)
src/webrtc-downloader-bin.js:23
FunctionRarityMap
* Mapping of torrent pieces to their respective availability in the torrent swarm. Used * by the torrent manager for implementing the rarest piece fi
src/lib/rarity-map.js:7
FunctionServer
(torrent, opts)
src/lib/server.js:10
FunctionSet
()
src/set.js:7
FunctionSimpleRTC
(config)
src/simple-RTC.js:20
FunctionTCPPool
* TCPPool * * A "TCP pool" allows multiple swarms to listen on the same TCP port and determines * which swarm incoming connections are intended for
src/lib/tcp-pool.js:18
FunctionTorrent
(torrentId, client, opts)
src/lib/torrent.js:66
FunctionValidator
(torrent)
src/piece-validator.js:13
FunctionWebConn
* Converts requests for torrent blocks into http range requests. * @param {string} url web seed url * @param {Object} torrent
src/lib/webconn.js:20
FunctionWebTorrent
* WebTorrent Client * @param {Object=} opts
src/pear-torrent.js:56
FunctionWorker
(urlStr, token, opts)
src/worker.js:33
FunctionconnectTest
(node)
src/node-filter.js:39
FunctionfinalyReportTraffic
(uuid, fileSize, traffics)
src/reporter.js:40
Functionnoop
()
src/dispatcher.js:726
Functionnoop
()
src/lib/tcp-pool.js:128
Functionnoop
()
src/lib/torrent.js:1755
Functionnoop
()
src/lib/peer.js:245
FunctiononChokeTimeout
()
src/lib/torrent.js:1042
FunctiononClose
()
src/pear-torrent.js:287
FunctiononConnection
(socket)
src/lib/server.js:61
FunctiononDHTAnnounce
()
src/lib/torrent.js:365
FunctiononError
(err)
src/lib/torrent.js:350
FunctiononHandshake
(infoHash, peerId)
src/lib/tcp-pool.js:103
FunctiononInfoHash
()
src/pear-torrent.js:270
FunctiononPeer
(peer)
src/lib/torrent.js:354
FunctiononReady
()
src/pear-torrent.js:281
FunctiononReady
()
src/lib/server.js:118
FunctiononRequest
(req, res)
src/lib/server.js:69
FunctiononResponse
(err, res, torrent)
src/lib/torrent.js:417
FunctiononTorrent
(torrent)
src/pear-torrent.js:351
FunctiononTrackerAnnounce
()
src/lib/torrent.js:360
FunctiononWarning
(err)
src/lib/torrent.js:370
FunctionpeerId
()
src/peerid-generator.js:3
FunctionrechokeSort
(peerA, peerB)
src/lib/torrent.js:1398
FunctionreportAbilities
(abilities)
src/reporter.js:58
FunctionreportTraffic
(uuid, fileSize, traffics)
src/reporter.js:15
FunctiontrueFn
()
src/lib/rarity-map.js:119