If you\'re using a Dart HttpClient
(which provides an HttpClientRequest
) to make requests from a server to another server, as far as I can tell the onl
You should be able to do with this with the open method which allows you to use any HTTP verb:
client.open('delete', 'http://example.com', '8080', '/test');
If you look at the HttpClient source you'll see that the get
and post
methods are just aliases for open
anyway:
Future<HttpClientRequest> post(String host,
int port,
String path) {
return open("post", host, port, path);
}