Skip to content

Commit c5ca385

Browse files
authored
chore(readme): add header parameter to enqueue function (#692)
1 parent 5e80a37 commit c5ca385

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ void main() {
290290
```dart
291291
final taskId = await FlutterDownloader.enqueue(
292292
url: 'your download link',
293+
headers: {}, // optional: header send with url (auth token etc)
293294
savedDir: 'the path of directory where you want to save downloaded files',
294295
showNotification: true, // show download progress in status bar (for Android)
295296
openFileFromNotification: true, // click on notification to open downloaded file (for Android)

0 commit comments

Comments
 (0)