Index: sdk/lib/io/http.dart |
diff --git a/sdk/lib/io/http.dart b/sdk/lib/io/http.dart |
index c63d28bbce211b81f032f3128ae0a97a05ba9a6e..e713f2299ee7d7d5d19f3f85728ddfe1ece5d188 100644 |
--- a/sdk/lib/io/http.dart |
+++ b/sdk/lib/io/http.dart |
@@ -109,7 +109,7 @@ abstract class HttpStatus { |
* Platform.script.resolve('certificates/server_key.pem') |
* .toFilePath(); |
* context.useCertificateChain(chain); |
- * context.usePrivateKey(key, password: 'dartdart'); |
+ * context.usePrivateKeyAsBytes(keyBytes, password: 'dartdart'); |
Bill Hesse
2016/01/29 14:41:50
Either load the file as bytes, or use usePrivateKe
zra
2016/01/29 16:47:49
`useCertificateChain` will also be changing to ret
|
* |
* HttpServer |
* .bindSecure(InternetAddress.ANY_IP_V6, |