mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 18:57:05 +08:00
Update http_client_manager.dart
This commit is contained in:
@@ -23,8 +23,9 @@ class HttpClientManager {
|
|||||||
HttpClientManager._internal();
|
HttpClientManager._internal();
|
||||||
|
|
||||||
http.Client createClient(
|
http.Client createClient(
|
||||||
String requestId,
|
String requestId, {
|
||||||
{bool noSSL = false}) {
|
bool noSSL = false,
|
||||||
|
}) {
|
||||||
final client =
|
final client =
|
||||||
(noSSL && !kIsWeb) ? createHttpClientWithNoSSL() : http.Client();
|
(noSSL && !kIsWeb) ? createHttpClientWithNoSSL() : http.Client();
|
||||||
_clients[requestId] = client;
|
_clients[requestId] = client;
|
||||||
|
|||||||
Reference in New Issue
Block a user