added readyState support

This commit is contained in:
Animesh Kumar
2011-02-12 17:33:37 +05:30
committed by Fil Maj
parent 28f27e89e4
commit 98d51b18e2
2 changed files with 54 additions and 8 deletions
+6
View File
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2010 Animesh Kumar (https://github.com/anismiles)
* Copyright (c) 2010 Strumsoft (https://strumsoft.com)
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
@@ -69,4 +70,9 @@
WebSocket.prototype.close = function() {
this.socket.close();
}
WebSocket.prototype.getReadyState = function() {
this.socket.getReadyState();
}
})();