Update atmosphere.js with optional parameter webSocketUrl

Based on atmoshpere.js code:
   https://github.com/Atmosphere/atmosphere-javascript/blob/master/modules/javascript/src/main/webapp/javascript/atmosphere.js#L1212
   it is possible to add an optional parameter named webSocketUrl
This commit is contained in:
jobeltran
2018-03-22 15:55:43 +01:00
parent 55a1b5699f
commit afbf4513e4
+2
View File
@@ -2,6 +2,7 @@
// Project: https://github.com/Atmosphere/atmosphere-javascript
// Definitions by: Kai Toedter <https://github.com/toedter>
// Fedor Kirpichev <https://github.com/Mory1879>
// Jorge Beltran <https://github.com/Scipion>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Use this typings in future instead of deprecated 'atmosphere'.
@@ -65,6 +66,7 @@ declare namespace Atmosphere {
maxReconnectOnClose?: number;
enableProtocol?: boolean;
pollingInterval?: number;
webSocketUrl?: string;
onError?: (response?:Response) => void;
onClose?: (response?:Response) => void;