OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 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 | 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 /// @domName WebSocket | 5 /// @domName WebSocket |
6 /** | 6 /** |
7 * Use the WebSocket interface to connect to a WebSocket, | 7 * Use the WebSocket interface to connect to a WebSocket, |
8 * and to send and receive data on that WebSocket. | 8 * and to send and receive data on that WebSocket. |
9 * | 9 * |
10 * To use a WebSocket in your web app, first create a WebSocket object, | 10 * To use a WebSocket in your web app, first create a WebSocket object, |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 abstract class WebSocketEvents implements Events { | 94 abstract class WebSocketEvents implements Events { |
95 | 95 |
96 EventListenerList get close; | 96 EventListenerList get close; |
97 | 97 |
98 EventListenerList get error; | 98 EventListenerList get error; |
99 | 99 |
100 EventListenerList get message; | 100 EventListenerList get message; |
101 | 101 |
102 EventListenerList get open; | 102 EventListenerList get open; |
103 } | 103 } |
OLD | NEW |