|
|
@ -1,6 +1,5 @@
|
|
|
|
var connection = new signalR.HubConnectionBuilder().withUrl(hubUrl).build();
|
|
|
|
var connection = new signalR.HubConnectionBuilder().withUrl(hubUrl).build();
|
|
|
|
var connectionId;
|
|
|
|
var connectionId;
|
|
|
|
var connectionKeeper;
|
|
|
|
|
|
|
|
function connect() {
|
|
|
|
function connect() {
|
|
|
|
console.log('check connection state :' + connection.state);
|
|
|
|
console.log('check connection state :' + connection.state);
|
|
|
|
if (connection.state === signalR.HubConnectionState.Disconnected) {
|
|
|
|
if (connection.state === signalR.HubConnectionState.Disconnected) {
|
|
|
|