Index: client/html/generated/html/interface/EventSource.dart |
diff --git a/client/html/generated/html/interface/EventSource.dart b/client/html/generated/html/interface/EventSource.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..53953ff981999d676b4ce270c62f42876c1847d8 |
--- /dev/null |
+++ b/client/html/generated/html/interface/EventSource.dart |
@@ -0,0 +1,39 @@ |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+// WARNING: Do not edit - generated code. |
+ |
+interface EventSource extends EventTarget { |
+ |
+ static final int CLOSED = 2; |
+ |
+ static final int CONNECTING = 0; |
+ |
+ static final int OPEN = 1; |
+ |
+ final String URL; |
+ |
+ final int readyState; |
+ |
+ final String url; |
+ |
+ EventSourceEvents get on(); |
+ |
+ void _addEventListener(String type, EventListener listener, [bool useCapture]); |
+ |
+ void close(); |
+ |
+ bool _dispatchEvent(Event evt); |
+ |
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]); |
+} |
+ |
+interface EventSourceEvents extends Events { |
+ |
+ EventListenerList get error(); |
+ |
+ EventListenerList get message(); |
+ |
+ EventListenerList get open(); |
+} |