Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jason Law
2021-05-20 06:47:49 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f2dedd6488bbeebaf3f4661ed94e07c7957cc2b8
f2dedd64
1 parent
a88111f5
Make withCredentials configurable
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
lib/get_connect/connect.dart
lib/get_connect/connect.dart
View file @
f2dedd6
...
...
@@ -97,6 +97,7 @@ class GetConnect extends GetConnectInterface {
this
.
maxRedirects
=
5
,
this
.
maxAuthRetries
=
1
,
this
.
allowAutoSignedCert
=
false
,
this
.
withCredentials
=
false
,
})
{
$configureLifeCycle
();
}
...
...
@@ -113,6 +114,7 @@ class GetConnect extends GetConnectInterface {
List
<
TrustedCertificate
>?
trustedCertificates
;
GetHttpClient
?
_httpClient
;
List
<
GetSocket
>?
_sockets
;
bool
withCredentials
;
@override
List
<
GetSocket
>
get
sockets
=>
_sockets
??=
<
GetSocket
>[];
...
...
@@ -127,6 +129,7 @@ class GetConnect extends GetConnectInterface {
allowAutoSignedCert:
allowAutoSignedCert
,
baseUrl:
baseUrl
,
trustedCertificates:
trustedCertificates
,
withCredentials:
withCredentials
,
);
@override
...
...
Please
register
or
login
to post a comment