headUri<T> method

  1. @override
Future<Response<T>> headUri<T>(
  1. Uri uri, {
  2. Object? data,
  3. Options? options,
  4. CancelToken? cancelToken,
})
inherited

Convenience method to make an HTTP HEAD request with Uri.

Implementation

@override
Future<Response<T>> headUri<T>(
  Uri uri, {
  Object? data,
  Options? options,
  CancelToken? cancelToken,
}) {
  return requestUri<T>(
    uri,
    data: data,
    options: checkOptions('HEAD', options),
    cancelToken: cancelToken,
  );
}