Browse Source

feat(nextcloud): Expose custom HttpClient

Signed-off-by: jld3103 <jld3103yt@gmail.com>
pull/1105/head
jld3103 1 year ago
parent
commit
c7f087f8bb
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 1
      packages/nextcloud/lib/src/client.dart

1
packages/nextcloud/lib/src/client.dart

@ -30,6 +30,7 @@ class NextcloudClient extends DynamiteClient {
final String? language, final String? language,
final AppType appType = AppType.unknown, final AppType appType = AppType.unknown,
final String? userAgentOverride, final String? userAgentOverride,
super.httpClient,
super.cookieJar, super.cookieJar,
}) : super( }) : super(
baseHeaders: language != null ? {'Accept-Language': language} : null, baseHeaders: language != null ? {'Accept-Language': language} : null,

Loading…
Cancel
Save