From ce17f0d19a6d627d2e2167a52a42744309fd08b1 Mon Sep 17 00:00:00 2001 From: moozzyk Date: Tue, 1 Nov 2016 13:33:46 -0700 Subject: [PATCH] Adding transport selection Fixing serverSentEvents transport Updating the client 'app' --- samples/SocketsSample/wwwroot/hubs.html | 130 +++--------------- .../Connection.ts | 37 ++++- .../RpcConnection.ts | 4 +- .../ServerSentEventsTransport.ts | 30 ++-- .../WebSocketTransport.ts | 4 +- 5 files changed, 76 insertions(+), 129 deletions(-) diff --git a/samples/SocketsSample/wwwroot/hubs.html b/samples/SocketsSample/wwwroot/hubs.html index 45083d0c39..68d272063e 100644 --- a/samples/SocketsSample/wwwroot/hubs.html +++ b/samples/SocketsSample/wwwroot/hubs.html @@ -5,7 +5,26 @@ -

WebSockets

+