MCPcopy Create free account

hub / github.com/pusher/pusher-js / functions

Functions555 in github.com/pusher/pusher-js

↓ 1 callersFunctionconnect
Connects to all strategies in parallel. * * Callback builder should be a function that takes two arguments: index * and a list of runners. It shoul
src/core/strategies/best_connected_ever_strategy.ts:50
↓ 1 callersMethodconnect
()
src/core/pusher.ts:163
↓ 1 callersMethodconnect
Establishes a connection to Pusher. * * Does nothing when connection is already established. See top-level doc * to find events emitted on co
src/core/connection/connection_manager.ts:113
↓ 1 callersFunctioncreateChannel
(name: string, pusher: Pusher)
src/core/channels/channels.ts:66
↓ 1 callersMethodcreateJSONPRequest
(url: string, data: any)
src/runtimes/web/browser.ts:16
↓ 1 callersMethodcreateMicrosoftXHR
()
src/runtimes/web/browser.ts:21
↓ 1 callersMethodcreateWebSocket
(url: string)
src/runtimes/interface.ts:33
↓ 1 callersMethodcreateXMLHttpRequest
()
src/runtimes/web/browser.ts:20
↓ 1 callersFunctiondecycleObject
(object: any)
src/core/utils/collections.ts:293
↓ 1 callersFunctiondescribeClusterTest
(options)
spec/javascripts/integration/core/cluster_config_spec.js:34
↓ 1 callersMethoddisconnect
Closes the connection.
src/core/connection/connection_manager.ts:154
↓ 1 callersFunctionencodeParamsObject
(data)
src/core/utils/collections.ts:262
↓ 1 callersFunctionfetchTransportCache
(usingTLS: boolean)
src/core/strategies/websocket_prioritized_cached_strategy.ts:112
↓ 1 callersFunctionfilterObject
(object: Object, test: Function)
src/core/utils/collections.ts:201
↓ 1 callersFunctionflatten
(object: Object)
src/core/utils/collections.ts:216
↓ 1 callersMethodget
(name: string)
src/core/events/callback_registry.ts:12
↓ 1 callersMethodgetClientFeatures
()
src/core/pusher.ts:42
↓ 1 callersFunctiongetEnableStatsConfig
(opts: Options)
src/core/config.ts:126
↓ 1 callersFunctiongetHttpHost
(opts: Options)
src/core/config.ts:93
↓ 1 callersFunctiongetLocation
(url)
src/core/http/http_socket.ts:184
↓ 1 callersMethodgetNetwork
()
src/runtimes/interface.ts:34
↓ 1 callersFunctiongetSendURL
(url: URLLocation, session: string)
src/core/http/http_socket.ts:192
↓ 1 callersFunctiongetStaticDefaultKeys
()
spec/javascripts/unit/core/config_spec.js:491
↓ 1 callersFunctiongetTestConfigs
()
spec/javascripts/integration/index.web.js:28
↓ 1 callersFunctiongetWebsocketHost
(opts: Options)
src/core/config.ts:103
↓ 1 callersFunctiongetWebsocketHostFromCluster
(cluster: string)
src/core/config.ts:110
↓ 1 callersMethodglobalLogWarn
(message: string)
src/core/logger.ts:23
↓ 1 callersMethodhandleCloseEvent
(closeEvent: any)
src/core/connection/connection.ts:150
↓ 1 callersMethodhandleEncryptedEvent
(event: string, data: any)
src/core/channels/encrypted_channel.ts:82
↓ 1 callersMethodhandleEvent
(pusherEvent)
src/core/watchlist.ts:17
↓ 1 callersMethodhandleInternalEvent
(event: PusherEvent)
src/core/channels/presence_channel.ts:74
↓ 1 callersMethodhandleSubscriptionSucceededEvent
(event: PusherEvent)
src/core/channels/presence_channel.ts:97
↓ 1 callersMethodhandleSubscriptionSucceededEvent
(event: PusherEvent)
src/core/channels/channel.ts:90
↓ 1 callersFunctioninitializeOnDocumentBody
()
src/runtimes/web/runtime.ts:44
↓ 1 callersMethodisBufferTooLong
(buffer: any)
src/core/http/http_request.ts:78
↓ 1 callersMethodisSupported
Returns whether the transport is supported in the browser. * * @returns {Boolean}
src/core/strategies/transport_strategy.ts:39
↓ 1 callersMethodisXDRSupported
(useTLS?: boolean)
src/runtimes/interface.ts:57
↓ 1 callersFunctionmap
(array: any[], f: Function)
src/core/utils/collections.ts:136
↓ 1 callersFunctionmapObject
(object: any, f: Function)
src/core/utils/collections.ts:155
↓ 1 callersMethodonActivity
()
src/core/http/http_socket.ts:137
↓ 1 callersMethodonActivity
()
src/core/transports/transport_connection.ts:190
↓ 1 callersMethodonClose
(closeEvent?: any)
src/core/transports/transport_connection.ts:172
↓ 1 callersMethodonMessage
(message)
src/core/transports/transport_connection.ts:186
↓ 1 callersMethodonOpen
(options)
src/core/http/http_socket.ts:116
↓ 1 callersMethodonOpen
()
src/core/transports/transport_connection.ts:156
↓ 1 callersMethodonSubscription
Handles subscription data. For internal use only.
src/core/channels/members.ts:48
↓ 1 callersFunctionrandom
()
src/runtimes/worker/runtime.ts:64
↓ 1 callersFunctionrandom
()
src/runtimes/web/runtime.ts:163
↓ 1 callersFunctionrandomString
(length: number)
src/core/http/http_socket.ts:210
↓ 1 callersMethodremove
(name?: string, callback?: Function, context?: any)
src/core/events/callback_registry.ts:26
↓ 1 callersMethodremoveAllCallbacks
(names: string[])
src/core/events/callback_registry.ts:62
↓ 1 callersMethodremoveCallback
(names: string[], callback: Function, context: any)
src/core/events/callback_registry.ts:41
↓ 1 callersMethodremoveMember
Adds a member from the collection. For internal use only.
src/core/channels/members.ts:64
↓ 1 callersMethodremoveUnloadListener
(listener: Function)
src/runtimes/interface.ts:44
↓ 1 callersFunctionreplaceHost
(url: string, hostname: string)
src/core/http/http_socket.ts:201
↓ 1 callersMethodsend
Sends raw data. * * @param {String} data
src/core/connection/connection.ts:49
↓ 1 callersMethodsendRaw
For internal use only
src/core/http/http_socket.ts:46
↓ 1 callersMethodsend_event
Sends an event. * * @param {String} name * @param {String} data * @param {String} [channel] * @returns {Boolean} whether message was se
src/core/connection/connection_manager.ts:145
↓ 1 callersMethodsetConnection
(connection)
src/core/connection/connection_manager.ts:338
↓ 1 callersMethodsetUnavailableTimer
()
src/core/connection/connection_manager.ts:226
↓ 1 callersMethodsetup
(PusherClass: { new (key: string, options: any): Pusher; ready(): void; })
src/runtimes/interface.ts:24
↓ 1 callersMethodshouldRetry
()
src/core/connection/connection_manager.ts:377
↓ 1 callersFunctionshouldUseTLS
(opts: Options)
src/core/config.ts:114
↓ 1 callersMethodstartConnecting
()
src/core/connection/connection_manager.ts:163
↓ 1 callersFunctionstoreTransportCache
( usingTLS: boolean, transport: TransportStrategy, latency: number, cacheSkipCount: number, )
src/core/strategies/websocket_prioritized_cached_strategy.ts:127
↓ 1 callersFunctionstr
(key, holder)
src/runtimes/web/dom/json2.js:228
↓ 1 callersFunctionsubscribe
(pusher, channelName, callback)
spec/javascripts/integration/core/cluster_config_spec.js:25
↓ 1 callersMethodsubscribeAll
()
src/core/pusher.ts:211
↓ 1 callersMethodunbindListeners
()
src/core/transports/transport_connection.ts:215
↓ 1 callersMethodunbind_all
()
src/core/events/dispatcher.ts:50
↓ 1 callersMethodunbind_global
(callback?: Function)
src/core/events/dispatcher.ts:36
↓ 1 callersFunctionutob
(u)
src/core/base64.ts:26
↓ 1 callersFunctionwalk
(holder, key)
src/runtimes/web/dom/json2.js:413
FunctionFakeWebSocket
(url)
spec/javascripts/unit/isomorphic/transports/transports_spec.js:81
MethodabortRequest
(HTTPRequest: any)
types/src/core/http/request_hooks.d.ts:4
FunctionabortRunner
(runner)
src/core/strategies/best_connected_ever_strategy.ts:76
FunctionaddUnloadListener
(listener: any)
src/runtimes/isomorphic/runtime.ts:58
FunctionaddUnloadListener
(listener: any)
src/runtimes/web/runtime.ts:143
MethodaddUnloadListener
(listener: Function)
types/src/runtimes/interface.d.ts:30
Functionajax
( context: AbstractRuntime, query: string, authOptions: InternalAuthOptions, authRequestType: AuthRequ
src/runtimes/isomorphic/auth/xhr_auth.ts:15
Functionall
(array: any[], test: Function)
src/core/utils/collections.ts:253
MethodallChannels
()
src/core/pusher.ts:159
Functionany
(array: any[], test: Function)
src/core/utils/collections.ts:234
Functionapply
(array: any[], f: Function, context?: any)
src/core/utils/collections.ts:119
FunctionarrayIndexOf
(array: any[], item: any)
src/core/utils/collections.ts:48
Methodauthorize
(socketId: string, callback: ChannelAuthorizationCallback)
types/src/core/auth/deprecated_channel_authorizer.d.ts:4
Methodauthorize
Authorizes the connection as a member of the channel. * * @param {String} socketId * @param {Function} callback
src/core/channels/presence_channel.ts:28
Methodauthorize
Authorizes the connection to use the channel. * * @param {String} socketId * @param {Function} callback
src/core/channels/private_channel.ts:16
Methodbind_global
(callback: Function)
src/core/events/dispatcher.ts:26
Functionbuild
(testConfig)
spec/javascripts/integration/core/pusher_spec/test_builder.js:28
FunctionbuildLogSuffix
(key: string)
src/core/utils/url_store.ts:32
FunctionbuildQueryString
(data: any)
src/core/utils/collections.ts:271
Functioncallback
()
spec/javascripts/unit/core/channels/private_channel_spec.js:32
Functioncallback
()
spec/javascripts/unit/core_with_runtime/auth/user_authorizer_spec.js:40
Functioncallback
()
spec/javascripts/unit/core_with_runtime/auth/channel_authorizer_spec.js:42
Functioncallback
()
spec/javascripts/unit/core_with_runtime/auth/deprecated_channel_authorizer_spec.js:34
MethodcallbackWrapper
()
src/runtimes/web/dom/script_receiver_factory.ts:38
Functioncb_encode
(ccc)
src/core/base64.ts:30
Functioncb_utob
(c)
src/core/base64.ts:15
Methodcleanup
Cleans up the DOM remains of the script request.
src/runtimes/web/dom/script_request.ts:71
← previousnext →201–300 of 555, ranked by callers