From afbf4513e41aaf6779116dd8cc56ea1a1d557706 Mon Sep 17 00:00:00 2001 From: jobeltran Date: Thu, 22 Mar 2018 15:44:51 +0100 Subject: [PATCH] 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 --- types/atmosphere.js/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/atmosphere.js/index.d.ts b/types/atmosphere.js/index.d.ts index 0c0bfa3c3a..48314cfdea 100644 --- a/types/atmosphere.js/index.d.ts +++ b/types/atmosphere.js/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/Atmosphere/atmosphere-javascript // Definitions by: Kai Toedter // Fedor Kirpichev +// Jorge Beltran // 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;