mirror of
https://github.com/foss42/apidash.git
synced 2025-12-01 18:28:25 +08:00
Update http_service.dart
This commit is contained in:
@@ -23,11 +23,11 @@ final httpClientManager = HttpClientManager();
|
|||||||
Future<(HttpResponse?, Duration?, String?)> sendHttpRequestV1(
|
Future<(HttpResponse?, Duration?, String?)> sendHttpRequestV1(
|
||||||
String requestId,
|
String requestId,
|
||||||
APIType apiType,
|
APIType apiType,
|
||||||
AuthModel? authData,
|
|
||||||
HttpRequestModel requestModel, {
|
HttpRequestModel requestModel, {
|
||||||
SupportedUriSchemes defaultUriScheme = kDefaultUriScheme,
|
SupportedUriSchemes defaultUriScheme = kDefaultUriScheme,
|
||||||
bool noSSL = false,
|
bool noSSL = false,
|
||||||
}) async {
|
}) async {
|
||||||
|
final authData = requestModel.authModel;
|
||||||
if (httpClientManager.wasRequestCancelled(requestId)) {
|
if (httpClientManager.wasRequestCancelled(requestId)) {
|
||||||
httpClientManager.removeCancelledRequest(requestId);
|
httpClientManager.removeCancelledRequest(requestId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user