| OLD | NEW |
| 1 | 1 |
| 2 class WebSocket native "*WebSocket" { | 2 class WebSocket native "*WebSocket" { |
| 3 WebSocket(String url) native; |
| 4 |
| 3 | 5 |
| 4 static final int CLOSED = 3; | 6 static final int CLOSED = 3; |
| 5 | 7 |
| 6 static final int CLOSING = 2; | 8 static final int CLOSING = 2; |
| 7 | 9 |
| 8 static final int CONNECTING = 0; | 10 static final int CONNECTING = 0; |
| 9 | 11 |
| 10 static final int OPEN = 1; | 12 static final int OPEN = 1; |
| 11 | 13 |
| 12 String URL; | 14 String URL; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 28 bool dispatchEvent(Event evt) native; | 30 bool dispatchEvent(Event evt) native; |
| 29 | 31 |
| 30 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 32 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 31 | 33 |
| 32 bool send(String data) native; | 34 bool send(String data) native; |
| 33 | 35 |
| 34 var dartObjectLocalStorage; | 36 var dartObjectLocalStorage; |
| 35 | 37 |
| 36 String get typeName() native; | 38 String get typeName() native; |
| 37 } | 39 } |
| OLD | NEW |