-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Request
When streaming a publication, use any custom headers when making HTTP requests.
Use Example
We could e.g. use a Map<String, String> when opening a publication. Headers could be different for different publications or the publications could come from different servers, so entering the headers on this level makes sense:
await _flutterReadium.openPublication(
publicationUrl,
headers: {
'Authorization': 'Bearer $accessToken',
},
);What to Think About
- In Kotlin
AssetRetrievershould take a customDefaultHttpClient.ExoPlayeralso makes HTTP requests, check how to add the headers there.- Somthing else?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels