From f0cdc94ccf21951fb55622edee9c42f4193ac09c Mon Sep 17 00:00:00 2001 From: Matthew Whited Date: Thu, 3 Sep 2015 14:25:32 -0400 Subject: [PATCH] Update version and release notes --- .gitignore | 3 ++- WhitedUS.SignalR/WhitedUS.signalR/README.md | 7 +++--- .../WhitedUS.signalR/package.json | 2 +- WhitedUS.SignalR/WhitedUS.signalR/signalR.js | 22 +++---------------- 4 files changed, 9 insertions(+), 25 deletions(-) diff --git a/.gitignore b/.gitignore index d464e63..be905e3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ bin/ obj/ src/ -node_modules/ \ No newline at end of file +node_modules/ +WhitedUS.SignalR/WhitedUS.signalR/npm-debug.log \ No newline at end of file diff --git a/WhitedUS.SignalR/WhitedUS.signalR/README.md b/WhitedUS.SignalR/WhitedUS.signalR/README.md index dd77966..61b4fbc 100644 --- a/WhitedUS.SignalR/WhitedUS.signalR/README.md +++ b/WhitedUS.SignalR/WhitedUS.signalR/README.md @@ -1,6 +1,6 @@ # signalr-client -By: [Matthew Whited](mailto:matt@whited.us?subject=signalr-client) (c) 2015 +By: [Matthew Whited](mailto:matt@whited.us?subject=signalr-client) (c) 2015 _____________________________________ ## Summary @@ -106,7 +106,6 @@ _see signalR-sample.js for more examples_ *These are all found under client.serviceHandlers* - bound: void function(){} connectFailed: void function(error){} connected: void function(connection){} @@ -134,7 +133,6 @@ _see signalR-sample.js for more examples_ //if false the client handler will be raised. } - #### Handler Unauthorized Access client.serviceHandlers.onUnauthorized = function (res) { @@ -156,7 +154,6 @@ _see signalR-sample.js for more examples_ return false; // Retry } - _____________________________________ ## Change History @@ -205,6 +202,8 @@ _____________________________________ * Thanks to Guilherme Ferreira * v0.0.15: Update to signalR Client Protocol 1.5 * Thanks to Guilherme Ferreira +* v0.0.16: Fixed lastMessageId issues + * Thanks to Sergey Buturlakin _____________________________________ ## Known Issues diff --git a/WhitedUS.SignalR/WhitedUS.signalR/package.json b/WhitedUS.SignalR/WhitedUS.signalR/package.json index ac90657..c350a46 100644 --- a/WhitedUS.SignalR/WhitedUS.signalR/package.json +++ b/WhitedUS.SignalR/WhitedUS.signalR/package.json @@ -1,6 +1,6 @@ { "name": "signalr-client", - "version": "0.0.15", + "version": "0.0.16", "description": "signalR client for node.js", "license": "MIT", "url" : "https://github.com/mwwhited/signalr-client-nodejs/", diff --git a/WhitedUS.SignalR/WhitedUS.signalR/signalR.js b/WhitedUS.SignalR/WhitedUS.signalR/signalR.js index e6d60b9..b4b85f0 100644 --- a/WhitedUS.SignalR/WhitedUS.signalR/signalR.js +++ b/WhitedUS.SignalR/WhitedUS.signalR/signalR.js @@ -1,20 +1,12 @@ //# signalr-client -//By: [Matthew Whited](mailto:matt@whited.us?subject=signalr-client) (c) 2014 +//By: [Matthew Whited](mailto:matt@whited.us?subject=signalr-client) (c) 2015 +// v0.0.16 //modifications made to add support for https/wss By: Anthony DiPierro //TODO: Fix HTTPS Proxy // https://newspaint.wordpress.com/2012/11/05/node-js-http-and-https-proxy/ -/* - * Matt, - * - * I also believe that the proxy setting are only working correctly for when the signalr host is set for "http://127.0.0.1". My signalr hub is at "wss://iotbridge.azurewebsites.net/signalr". When the proxy settings are set for fidder's standard host and port of 127.0.0.1 and 8888, and the signalr host is not local no messages arrive to fiddler. The proxy host name is not used but the port is, thus yielding a connection that tries to go to "wss://iotbridge.azurewebsites.net/signalr:8888". - * Let me know if I'm too many emails. - * - * thanks, - * vince. (Vincent Miceli) vjm@orchardparksoftware.com - */ - +/* ~Vincent Miceli */ //TODO: consider changing binding/start order var url = require('url'), @@ -534,17 +526,11 @@ function clientInterface(baseUrl, hubs, reconnectTimeout, doNotStart) { }); - - req.on('error', function (e) { handlerErrors('Can\'t abort connection', e, abortUrlOptions); }); - - - req.end(); - } }; @@ -586,8 +572,6 @@ function clientInterface(baseUrl, hubs, reconnectTimeout, doNotStart) { onError('HTTP Error', e); } }); - - } var startErrorFunction = function (e) {