requestUri<T> method

  1. @override
Future<Response<T>> requestUri<T>(
  1. Uri uri, {
  2. Object? data,
  3. CancelToken? cancelToken,
  4. Options? options,
  5. ProgressCallback? onSendProgress,
  6. ProgressCallback? onReceiveProgress,
})
override

Make http request with options with Uri.

Implementation

@override
Future<Response<T>> requestUri<T>(
  Uri uri, {
  Object? data,
  CancelToken? cancelToken,
  Options? options,
  ProgressCallback? onSendProgress,
  ProgressCallback? onReceiveProgress,
}) {
  return request(
    uri.toString(),
    data: data,
    cancelToken: cancelToken,
    options: options,
    onSendProgress: onSendProgress,
    onReceiveProgress: onReceiveProgress,
  );
}