| Index: sdk/lib/io/http.dart
|
| diff --git a/sdk/lib/io/http.dart b/sdk/lib/io/http.dart
|
| index 2274673ad616dc539b01a782c4e64376c435ef99..5a7ae9966f46a1771c0eea773df687faf1a7957d 100644
|
| --- a/sdk/lib/io/http.dart
|
| +++ b/sdk/lib/io/http.dart
|
| @@ -62,11 +62,16 @@ abstract class HttpServer {
|
| * Start listening for HTTP requests on the specified [host] and
|
| * [port]. If a [port] of 0 is specified the server will choose an
|
| * ephemeral port. The optional argument [backlog] can be used to
|
| - * specify the listen backlog for the underlying OS listen
|
| - * setup. See [addRequestHandler] and [defaultRequestHandler] for
|
| + * specify the listen backlog for the underlying OS listen.
|
| + * The optional argument [certificate_name] is used by the HttpsServer
|
| + * class, which shares the same interface.
|
| + * See [addRequestHandler] and [defaultRequestHandler] for
|
| * information on how incoming HTTP requests are handled.
|
| */
|
| - void listen(String host, int port, {int backlog: 128});
|
| + void listen(String host,
|
| + int port,
|
| + {int backlog: 128,
|
| + String certificate_name});
|
|
|
| /**
|
| * Attach the HTTP server to an existing [:ServerSocket:]. If the
|
| @@ -127,6 +132,14 @@ abstract class HttpServer {
|
|
|
|
|
| /**
|
| + * HTTPS server.
|
| + */
|
| +abstract class HttpsServer implements HttpServer {
|
| + factory HttpsServer() => new _HttpServer.httpsServer();
|
| +}
|
| +
|
| +
|
| +/**
|
| * Overview information of the [:HttpServer:] socket connections.
|
| */
|
| class HttpConnectionsInfo {
|
|
|