Skip to content
This repository was archived by the owner on May 13, 2023. It is now read-only.

Commit 65f39e4

Browse files
authored
make headers editable (#19)
1 parent 4b16f2e commit 65f39e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/src/functions_client.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ class FunctionsClient {
2525
_hasCustomIsolate = isolate != null,
2626
_httpClient = httpClient;
2727

28+
/// Getter for the headers
29+
Map<String, String> get headers {
30+
return _headers;
31+
}
32+
2833
/// Updates the authorization header
2934
///
3035
/// [token] - the new jwt token sent in the authorisation header

0 commit comments

Comments
 (0)