getDetailUnencryptedFile()
This method is used to get detail of an unencrypted file.
Syntax
Params
Name
Type
Required
Description
token
string
Yes
The authentication token.
torrentUrl
string
Yes
Torren URL.
onProcess
function
No
This function is used to handle the process get a file. Param torrent
is an object includes:
The second param remaining
is the time remaining to get this file.
Example
Response
This method returns buffer data. You can use some library as "render-media" to render data (see example)
Last updated