![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/ts.corals.io/frontend/node_modules/pusher-js/src/core/ |
import { ChannelAuthorizationOptions, UserAuthenticationOptions } from './auth/options'; import { AuthTransport } from './config'; export interface DefaultConfig { VERSION: string; PROTOCOL: number; wsPort: number; wssPort: number; wsPath: string; httpHost: string; httpPort: number; httpsPort: number; httpPath: string; stats_host: string; authEndpoint: string; authTransport: AuthTransport; activityTimeout: number; pongTimeout: number; unavailableTimeout: number; cluster: string; userAuthentication: UserAuthenticationOptions; channelAuthorization: ChannelAuthorizationOptions; cdn_http?: string; cdn_https?: string; dependency_suffix?: string; } var Defaults: DefaultConfig = { VERSION: VERSION, PROTOCOL: 7, wsPort: 80, wssPort: 443, wsPath: '', // DEPRECATED: SockJS fallback parameters httpHost: 'sockjs.pusher.com', httpPort: 80, httpsPort: 443, httpPath: '/pusher', // DEPRECATED: Stats stats_host: 'stats.pusher.com', // DEPRECATED: Other settings authEndpoint: '/pusher/auth', authTransport: 'ajax', activityTimeout: 120000, pongTimeout: 30000, unavailableTimeout: 10000, cluster: 'mt1', userAuthentication: { endpoint: '/pusher/user-auth', transport: 'ajax' }, channelAuthorization: { endpoint: '/pusher/auth', transport: 'ajax' }, // CDN configuration cdn_http: CDN_HTTP, cdn_https: CDN_HTTPS, dependency_suffix: DEPENDENCY_SUFFIX }; export default Defaults;