feat(http): add option to skip SSL certificate verification (#801)

This commit is contained in:
Ricky authored and GitHub committed 2024-11-12 10:30:21 +08:00
1 parent 3384f5197a
commit 2523282a89
19 files changed
+48 -1

No files matched your search

+2
View File
@@ -8,12 +8,14 @@ class Request {
Object? extra;
Map<String, String>? labels = {};
RequestProxy? proxy;
bool skipVerifyCert = false;
Request({
required this.url,
this.extra,
this.labels,
this.proxy,
this.skipVerifyCert = false,
});
factory Request.fromJson(Map<String, dynamic> json) =>