websocket-driver
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -0,1 +1,6 @@ | ||
### 0.2.1 / 2013-05-17 | ||
* Export the isSecureRequest() method since faye-websocket relies on it | ||
* Queue sent messages in the client's initial state | ||
### 0.2.0 / 2013-05-12 | ||
@@ -2,0 +7,0 @@ |
@@ -27,2 +27,6 @@ // Protocol references: | ||
isSecureRequest: function(request) { | ||
return Server.isSecureRequest(request); | ||
}, | ||
isWebSocket: function(request) { | ||
@@ -29,0 +33,0 @@ if (request.method !== 'GET') return false; |
@@ -132,3 +132,3 @@ var crypto = require('crypto'), | ||
frame: function(data, type, code) { | ||
if (this.readyState === 0) return this._queue([data, type, code]); | ||
if (this.readyState <= 0) return this._queue([data, type, code]); | ||
if (this.readyState !== 1) return false; | ||
@@ -135,0 +135,0 @@ |
@@ -7,3 +7,3 @@ { "name" : "websocket-driver" | ||
, "version" : "0.2.0" | ||
, "version" : "0.2.1" | ||
, "engines" : {"node": ">=0.4.0"} | ||
@@ -10,0 +10,0 @@ , "main" : "./lib/websocket/driver" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49296
1035