OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
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. | |
4 | |
5 abstract class TlsSocket implements Socket, Hashable { | |
Mads Ager (google)
2012/09/28 12:03:57
Hashable is gone when you rebase. You should just
| |
6 /** | |
7 * Constructs a new secure socket and connect it to the given | |
8 * host on the given port. The returned socket is not yet connected | |
9 * but ready for registration of callbacks. | |
10 */ | |
11 factory TlsSocket(String host, int port) => new _TlsSocket(host, port); | |
12 | |
13 static void setCertificateDatabase(String pkcertDirectory) | |
14 native "TlsSocket_SetCertificateDatabase"; | |
15 } | |
OLD | NEW |