head method
Sends a HEAD request to path.
Implementation
Future<AlphaXResponse> head(
String path, {
Map<String, Object?>? queryParameters,
Map<String, String>? headers,
Duration? timeout,
AlphaXCancellationToken? cancellationToken,
}) => _send(
HttpMethod.head,
path,
queryParameters: queryParameters,
headers: headers,
timeout: timeout,
cancellationToken: cancellationToken,
);