head method

Future<HttpResponse<Map<String, String>>> head(
  1. String path, {
  2. Map<String, String>? headers,
  3. Map<String, dynamic>? queryParameters,
  4. Duration? timeout,
  5. bool? useToken,
})

Execute HEAD request

Implementation

Future<HttpResponse<Map<String, String>>> head(
  String path, {
  Map<String, String>? headers,
  Map<String, dynamic>? queryParameters,
  Duration? timeout,
  bool? useToken,
}) {
  return _repository.head(
    path,
    headers: headers,
    queryParameters: queryParameters,
    timeout: timeout,
    useToken: useToken,
  );
}