mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-06 13:11:46 +00:00
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:
Vendored
+2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user