mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-05 03:49:39 +00:00
Update gimite/web-socket-js to dd80a1807758abfab4a0fde840f94c5d649e4a24
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Copyright: Hiroshi Ichikawa <http://gimite.net/en/>
|
||||
// Lincense: New BSD Lincense
|
||||
// License: New BSD License
|
||||
// Reference: http://dev.w3.org/html5/websockets/
|
||||
// Reference: http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-31
|
||||
|
||||
@@ -73,6 +73,10 @@ public class WebSocketMain extends Sprite {
|
||||
ExternalInterface.call("webSocketLog", encodeURIComponent("[WebSocket] " + message));
|
||||
}
|
||||
|
||||
public function error(message:String):void {
|
||||
ExternalInterface.call("webSocketError", encodeURIComponent("[WebSocket] " + message));
|
||||
}
|
||||
|
||||
public function fatal(message:String):void {
|
||||
ExternalInterface.call("webSocketError", encodeURIComponent("[WebSocket] " + message));
|
||||
throw message;
|
||||
|
||||
Reference in New Issue
Block a user