mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add donwloadItem.getContentDisposition() API.
This commit is contained in:
@@ -81,3 +81,8 @@ Returns a `Integer` represents the total size in bytes of the download item.
|
||||
### `downloadItem.getReceivedBytes()`
|
||||
|
||||
Returns a `Integer` represents the received bytes of the download item.
|
||||
|
||||
### `downloadItem.getContentDisposition()`
|
||||
|
||||
Returns a `String` represents the Content-Disposition field from the response
|
||||
header.
|
||||
|
||||
Reference in New Issue
Block a user