Transfers¶
Méthodes¶
Transfers.CreateUpload¶
CONFIGURE
Create an upload session on the dedicated transfer connection.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
fileName |
String |
|
size |
Int |
Retour :
| Champ | Type | Notes |
|---|---|---|
fileName |
String |
|
size |
Int |
|
transferId |
String |
|
transferToken |
String |
Transfers.StartDownload¶
CONTROL
Create a download session for a previously announced download.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
downloadId |
String |
Retour :
| Champ | Type | Notes |
|---|---|---|
fileName |
String |
|
size |
Int |
|
transferId |
String |
|
transferToken |
String |
Notifications¶
Transfers.DownloadAvailable¶
Emitted when a completed upload can be downloaded on the dedicated transfer connection.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
downloadId |
String |
|
fileName |
String |
|
size |
Int |