Showing
1 changed file
with
3 additions
and
0 deletions
@@ -97,6 +97,7 @@ class GetConnect extends GetConnectInterface { | @@ -97,6 +97,7 @@ class GetConnect extends GetConnectInterface { | ||
97 | this.maxRedirects = 5, | 97 | this.maxRedirects = 5, |
98 | this.maxAuthRetries = 1, | 98 | this.maxAuthRetries = 1, |
99 | this.allowAutoSignedCert = false, | 99 | this.allowAutoSignedCert = false, |
100 | + this.withCredentials = false, | ||
100 | }) { | 101 | }) { |
101 | $configureLifeCycle(); | 102 | $configureLifeCycle(); |
102 | } | 103 | } |
@@ -113,6 +114,7 @@ class GetConnect extends GetConnectInterface { | @@ -113,6 +114,7 @@ class GetConnect extends GetConnectInterface { | ||
113 | List<TrustedCertificate>? trustedCertificates; | 114 | List<TrustedCertificate>? trustedCertificates; |
114 | GetHttpClient? _httpClient; | 115 | GetHttpClient? _httpClient; |
115 | List<GetSocket>? _sockets; | 116 | List<GetSocket>? _sockets; |
117 | + bool withCredentials; | ||
116 | 118 | ||
117 | @override | 119 | @override |
118 | List<GetSocket> get sockets => _sockets ??= <GetSocket>[]; | 120 | List<GetSocket> get sockets => _sockets ??= <GetSocket>[]; |
@@ -127,6 +129,7 @@ class GetConnect extends GetConnectInterface { | @@ -127,6 +129,7 @@ class GetConnect extends GetConnectInterface { | ||
127 | allowAutoSignedCert: allowAutoSignedCert, | 129 | allowAutoSignedCert: allowAutoSignedCert, |
128 | baseUrl: baseUrl, | 130 | baseUrl: baseUrl, |
129 | trustedCertificates: trustedCertificates, | 131 | trustedCertificates: trustedCertificates, |
132 | + withCredentials: withCredentials, | ||
130 | ); | 133 | ); |
131 | 134 | ||
132 | @override | 135 | @override |
-
Please register or login to post a comment