OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library safe_http_server; | 5 library safe_http_server; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:io'; | 8 import 'dart:io'; |
9 import 'dart:uri'; | 9 import 'dart:uri'; |
10 | 10 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 HttpConnectionInfo get connectionInfo => _inner.connectionInfo; | 133 HttpConnectionInfo get connectionInfo => _inner.connectionInfo; |
134 void writeBytes(List<int> data) => _inner.writeBytes(data); | 134 void writeBytes(List<int> data) => _inner.writeBytes(data); |
135 Future<HttpResponse> consume(Stream<List<int>> stream) => | 135 Future<HttpResponse> consume(Stream<List<int>> stream) => |
136 _inner.consume(stream); | 136 _inner.consume(stream); |
137 Future<HttpResponse> writeStream(Stream<List<int>> stream) => | 137 Future<HttpResponse> writeStream(Stream<List<int>> stream) => |
138 _inner.writeStream(stream); | 138 _inner.writeStream(stream); |
139 void close() => _inner.close(); | 139 void close() => _inner.close(); |
140 void write(Object obj) => _inner.write(obj); | 140 void write(Object obj) => _inner.write(obj); |
141 void writeAll(Iterable objects) => _inner.writeAll(objects); | 141 void writeAll(Iterable objects) => _inner.writeAll(objects); |
142 void writeCharCode(int charCode) => _inner.writeCharCode(charCode); | 142 void writeCharCode(int charCode) => _inner.writeCharCode(charCode); |
143 void writeln(Object obj) => _inner.writeln(obj); | 143 void writeln([Object obj = ""]) => _inner.writeln(obj); |
144 } | 144 } |
OLD | NEW |