getDetailEncryptedFile()
This method is used to get detail of an encrypted file.
Syntax
Params
Name | Type | Required | Description |
---|---|---|---|
torrentUrl | string | Yes | Torren URL. |
key | string | Yes | The encrypted key. |
token | string | Yes | The authentication token. |
isShare | boolean | Yes | If you get file detail of a file is shared, |
webSeed | any | No | This is an array: [url, backupUrl]. If |
account | any | No | User Owallet address. If |
onProcess | function | No | This function is used to handle the process get a file. The first param The second param |
Example
Response
This method returns buffer data. You can use some library as "render-media" to render data (see example)
Last updated