| Index: runtime/bin/http.dart
|
| ===================================================================
|
| --- runtime/bin/http.dart (revision 6032)
|
| +++ runtime/bin/http.dart (working copy)
|
| @@ -69,6 +69,13 @@
|
| void listen(String host, int port, [int backlog]);
|
|
|
| /**
|
| + * Attach the HTTP server to an existing ServerSocket. If the HttpServer is
|
| + * closed, the HttpServer will just detach itself, and not close
|
| + * [serverSocket].
|
| + */
|
| + void listenOn(ServerSocket serverSocket);
|
| +
|
| + /**
|
| * Stop server listening.
|
| */
|
| void close();
|
|
|