mirror of
https://github.com/foss42/apidash.git
synced 2025-12-01 18:28:25 +08:00
edited collection_provider
This commit is contained in:
@@ -8,8 +8,9 @@ import '../consts.dart';
|
||||
import '../models/models.dart';
|
||||
import '../utils/utils.dart';
|
||||
import 'http_client_manager.dart';
|
||||
import 'http_service.dart';
|
||||
|
||||
|
||||
typedef HttpResponse = http.Response;
|
||||
|
||||
/// Create a custom `HttpClient` with SSL verification disabled.
|
||||
http.Client createHttpClientWithNoSSL() {
|
||||
@@ -19,7 +20,7 @@ http.Client createHttpClientWithNoSSL() {
|
||||
return IOClient(ioClient);
|
||||
}
|
||||
|
||||
Future<(HttpResponse?, Duration?, String?)> request(
|
||||
Future<(HttpResponse?, Duration?, String?)> noSSLrequest(
|
||||
String requestId,
|
||||
HttpRequestModel requestModel, {
|
||||
SupportedUriSchemes defaultUriScheme = kDefaultUriScheme,
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
export 'http_client_manager.dart';
|
||||
export 'http_service.dart';
|
||||
export 'no_ssl_http_service.dart';
|
||||
|
||||
Reference in New Issue
Block a user