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