Don't force LongPolling for SignalR
This commit is contained in:
parent
60b28055ef
commit
5a442cb7c0
@ -102,7 +102,6 @@
|
||||
function stablishConnection(cb) {
|
||||
let connection = new signalR.HubConnectionBuilder()
|
||||
.withUrl('@settings.Value.SignalrHubUrl/hub/notificationhub', {
|
||||
transport: signalR.HttpTransportType.LongPolling,
|
||||
accessTokenFactory: () => {
|
||||
return "Authorization", getToken();
|
||||
}
|
||||
|
@ -43,7 +43,6 @@ export class SignalrService {
|
||||
private register() {
|
||||
this._hubConnection = new HubConnectionBuilder()
|
||||
.withUrl(this.SignalrHubUrl + '/hub/notificationhub', {
|
||||
transport: HttpTransportType.LongPolling,
|
||||
accessTokenFactory: () => this.securityService.GetToken()
|
||||
})
|
||||
.configureLogging(LogLevel.Information)
|
||||
|
Loading…
x
Reference in New Issue
Block a user