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