head method
override
Opens a HTTP connection using the HEAD method.
The server is specified using host and port, and the path
(including a possible query) is specified using path.
See open for details.
Implementation
@override
_i4.Future<_i2.HttpClientRequest> head(
String? host,
int? port,
String? path,
) =>
(super.noSuchMethod(
Invocation.method(
#head,
[
host,
port,
path,
],
),
returnValue:
_i4.Future<_i2.HttpClientRequest>.value(_FakeHttpClientRequest_1(
this,
Invocation.method(
#head,
[
host,
port,
path,
],
),
)),
) as _i4.Future<_i2.HttpClientRequest>);