putUri<T> method
Future<Response<T> >
putUri<T>(
- Uri uri, {
- dynamic data,
- Options? options,
- CancelToken? cancelToken,
- ProgressCallback? onSendProgress,
- ProgressCallback? onReceiveProgress,
inherited
Handy method to make http PUT request, which is a alias of BaseDio.requestOptions
.
Implementation
@override
Future<Response<T>> putUri<T>(
Uri uri, {
data,
Options? options,
CancelToken? cancelToken,
ProgressCallback? onSendProgress,
ProgressCallback? onReceiveProgress,
}) {
return requestUri<T>(
uri,
data: data,
options: checkOptions('PUT', options),
cancelToken: cancelToken,
onSendProgress: onSendProgress,
onReceiveProgress: onReceiveProgress,
);
}