post method

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

Opens an HTTP connection using the POST 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
Future<HttpClientRequest> post(String host, int port, String path) {
  return _openUrl(_RequestMethod.post.value,
      Uri(scheme: 'http', host: host, port: port, path: path));
}