Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(668)

Unified Diff: runtime/bin/http.dart

Issue 9653026: Add writeString method to OutputStream (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/http.dart
diff --git a/runtime/bin/http.dart b/runtime/bin/http.dart
index 8a5097acceaf9c74db8da4be6934dd3378a029d5..24f76cb88d11ea5f8f37006b63e956064fd89627 100644
--- a/runtime/bin/http.dart
+++ b/runtime/bin/http.dart
@@ -204,14 +204,6 @@ interface HttpResponse default _HttpResponse {
* having retrieved the output stream will throw an exception.
*/
OutputStream get outputStream();
-
- /**
- * Write string data to the response. The string characters will be
- * encoded using UFT-8. This is a temporary convenience method as
- * long as the OutputStream interface does not have a writeString
- * method.
- */
- bool writeString(String string);
}
@@ -335,14 +327,6 @@ interface HttpClientRequest default _HttpClientRequest {
* having retrieved the output stream will throw an exception.
*/
OutputStream get outputStream();
-
- /**
- * Write string data to the request. The string characters will be
- * encoded using UFT-8. This is a temporary convenience method as
- * long as the OutputStream interface does not have a writeString
- * method.
- */
- bool writeString(String string);
}

Powered by Google App Engine
This is Rietveld 408576698