@@ -24,7 +24,7 @@ class EnhancedHttp extends StreamedRequest with Interceptor, Utils {
24
24
{Map <String , String >? headers,
25
25
InterceptorOptions ? interceptors,
26
26
String ? responseType,
27
- Map <String , String >? options}) async {
27
+ Map <String , dynamic >? options}) async {
28
28
final url = Uri .parse ('$baseURL $path ' );
29
29
return await request (() async {
30
30
if (isStream (headers, responseType)) {
@@ -49,7 +49,7 @@ class EnhancedHttp extends StreamedRequest with Interceptor, Utils {
49
49
InterceptorOptions ? interceptors,
50
50
List <dynamic >? files,
51
51
String ? responseType,
52
- Map <String , String >? options}) async {
52
+ Map <String , dynamic >? options}) async {
53
53
final url = Uri .parse ('$baseURL $path ' );
54
54
return await request (() async {
55
55
if (isStream (headers, responseType)) {
@@ -110,7 +110,7 @@ class EnhancedHttp extends StreamedRequest with Interceptor, Utils {
110
110
InterceptorOptions ? interceptors,
111
111
List <dynamic >? files,
112
112
String ? responseType,
113
- Map <String , String >? options}) async {
113
+ Map <String , dynamic >? options}) async {
114
114
return _update ("PUT" , path, payload, headers, interceptors, files,
115
115
responseType, options);
116
116
}
@@ -121,7 +121,7 @@ class EnhancedHttp extends StreamedRequest with Interceptor, Utils {
121
121
InterceptorOptions ? interceptors,
122
122
List <dynamic >? files,
123
123
String ? responseType,
124
- Map <String , String >? options}) async {
124
+ Map <String , dynamic >? options}) async {
125
125
return _update ("PATCH" , path, payload, headers, interceptors, files,
126
126
responseType, options);
127
127
}
@@ -130,7 +130,7 @@ class EnhancedHttp extends StreamedRequest with Interceptor, Utils {
130
130
{Map <String , String >? headers,
131
131
InterceptorOptions ? interceptors,
132
132
String ? responseType,
133
- Map <String , String >? options}) async {
133
+ Map <String , dynamic >? options}) async {
134
134
final url = Uri .parse ('$baseURL $path ' );
135
135
return await request (() async {
136
136
if (isStream (headers, responseType)) {
@@ -153,7 +153,7 @@ class EnhancedHttp extends StreamedRequest with Interceptor, Utils {
153
153
{Map <String , String >? headers,
154
154
InterceptorOptions ? interceptors,
155
155
String ? responseType,
156
- Map <String , String >? options}) async {
156
+ Map <String , dynamic >? options}) async {
157
157
final url = Uri .parse ('$baseURL $path ' );
158
158
return await request (() async {
159
159
return await http.head (
0 commit comments