put method

  1. @override
Future<HttpClientRequest> put(
  1. String? host,
  2. int? port,
  3. String? path
)
override

Opens a HTTP connection using the PUT 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> put(
  String? host,
  int? port,
  String? path,
) =>
    (super.noSuchMethod(
      Invocation.method(
        #put,
        [
          host,
          port,
          path,
        ],
      ),
      returnValue:
          _i4.Future<_i2.HttpClientRequest>.value(_FakeHttpClientRequest_1(
        this,
        Invocation.method(
          #put,
          [
            host,
            port,
            path,
          ],
        ),
      )),
    ) as _i4.Future<_i2.HttpClientRequest>);