Index: runtime/bin/http.dart |
diff --git a/runtime/bin/http.dart b/runtime/bin/http.dart |
index 8a5097acceaf9c74db8da4be6934dd3378a029d5..6b3527a8191217ee3ed464e856fca821d4a97fec 100644 |
--- a/runtime/bin/http.dart |
+++ b/runtime/bin/http.dart |
@@ -234,16 +234,22 @@ interface HttpClient default _HttpClient { |
*/ |
HttpClientConnection open(String method, String host, int port, String path); |
+ HttpClientConnection openUrl(String method, Uri url); |
Mads Ager (google)
2012/03/08 08:02:52
Please add doc comment for all three of these.
Søren Gjesse
2012/03/08 08:30:04
Done.
|
+ |
/** |
* Opens a HTTP connection using the GET method. See [open] for details. |
*/ |
HttpClientConnection get(String host, int port, String path); |
+ HttpClientConnection getUrl(Uri url); |
+ |
/** |
* Opens a HTTP connection using the POST method. See [open] for details. |
*/ |
HttpClientConnection post(String host, int port, String path); |
+ HttpClientConnection postUrl(Uri url); |
+ |
/** |
* Shutdown the HTTP client releasing all resources. |
*/ |