Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pusher/pusher-js
/ functions
Functions
555 in github.com/pusher/pusher-js
⨍
Functions
555
◇
Types & classes
330
↓ 3 callers
Method
getRequest
(HTTPRequest)
src/core/http/request_hooks.ts:5
↓ 3 callers
Function
getTransportCacheKey
(usingTLS: boolean)
src/core/strategies/websocket_prioritized_cached_strategy.ts:108
↓ 3 callers
Method
handlesActivityChecks
Returns whether used transport handles activity checks by itself * * @returns {Boolean} true if activity checks are handled by the transport
src/core/connection/connection.ts:41
↓ 3 callers
Method
isInitialized
()
src/core/transports/transport_hooks.ts:10
↓ 3 callers
Function
isSafari
()
spec/javascripts/unit/web/transports/transports_spec.js:14
↓ 3 callers
Method
log
(level, event)
src/core/timeline/timeline.ts:31
↓ 3 callers
Method
onHeartbeat
(Socket)
src/core/http/socket_hooks.ts:6
↓ 3 callers
Function
prefix
(name: string)
src/core/events/callback_registry.ts:73
↓ 3 callers
Function
quote
(string)
src/runtimes/web/dom/json2.js:211
↓ 3 callers
Method
reinstateSubscription
Reinstates an in progress subscripiton. For internal use only.
src/core/channels/channel.ts:160
↓ 3 callers
Method
resetActivityCheck
()
src/core/connection/connection_manager.ts:248
↓ 3 callers
Method
sendHeartbeat
(Socket)
src/core/http/socket_hooks.ts:7
↓ 3 callers
Method
sendRaw
(payload: any)
src/core/socket.ts:5
↓ 3 callers
Method
shouldUseTLS
()
src/core/pusher.ts:249
↓ 3 callers
Method
stopActivityCheck
()
src/core/connection/connection_manager.ts:258
↓ 3 callers
Method
unbindListeners
()
src/core/connection/handshake/index.ts:80
↓ 3 callers
Method
unbind_all
(callback?: Function)
src/core/pusher.ts:206
↓ 3 callers
Method
unbind_global
(callback?: Function)
src/core/pusher.ts:201
↓ 3 callers
Method
updateStrategy
()
src/core/connection/connection_manager.ts:200
↓ 2 callers
Function
ChannelAuthorizerProxy
( pusher, authOptions: InternalAuthOptions, channelAuthorizerGenerator: ChannelAuthorizerGenerator, )
src/core/auth/deprecated_channel_authorizer.ts:31
↓ 2 callers
Method
_newSigninPromiseIfNeeded
()
src/core/user.ts:165
↓ 2 callers
Method
_signin
()
src/core/user.ts:61
↓ 2 callers
Method
abandonConnection
()
src/core/connection/connection_manager.ts:346
↓ 2 callers
Method
abortConnecting
()
src/core/connection/connection_manager.ts:183
↓ 2 callers
Method
all
Returns a list of all channels * * @return {Array}
src/core/channels/channels.ts:35
↓ 2 callers
Function
auth
(pusher, channel_name, socket_id)
integration_tests_server/index.js:17
↓ 2 callers
Function
buildCachedTransportTests
(useTLS)
spec/javascripts/unit/core/strategies/websocket_prioritized_cached_strategy_spec.js:53
↓ 2 callers
Function
buildClientEventsTests
(getPusher1, getPusher2, prefix)
spec/javascripts/integration/core/pusher_spec/test_builder.js:340
↓ 2 callers
Function
buildSubscriptionStateTests
(getPusher, prefix)
spec/javascripts/integration/core/pusher_spec/test_builder.js:540
↓ 2 callers
Method
clearUnavailableTimer
()
src/core/connection/connection_manager.ts:232
↓ 2 callers
Method
closeStream
()
src/core/http/http_socket.ts:175
↓ 2 callers
Method
createRequest
(hooks: RequestHooks, method: string, url: string)
src/core/http/http_factory.ts:13
↓ 2 callers
Method
createScriptRequest
(src: string)
src/runtimes/web/browser.ts:17
↓ 2 callers
Method
createSocket
(hooks: SocketHooks, url: string)
src/core/http/http_factory.ts:10
↓ 2 callers
Method
createSocketRequest
(method: string, url: string)
src/runtimes/interface.ts:48
↓ 2 callers
Method
createXDR
(method: string, url: string)
src/core/http/http_factory.ts:12
↓ 2 callers
Method
disconnectInternally
()
src/core/connection/connection_manager.ts:190
↓ 2 callers
Function
failAttempt
(error: Error, callback: Function)
src/core/strategies/transport_strategy.ts:136
↓ 2 callers
Function
flushTransportCache
(usingTLS: boolean)
src/core/strategies/websocket_prioritized_cached_strategy.ts:148
↓ 2 callers
Method
getAssistant
Creates a assistant for the transport. * * @param {Transport} transport * @returns {AssistantToTheTransportManager}
src/core/transports/transport_manager.ts:33
↓ 2 callers
Function
getConfig
(opts: Options, pusher)
src/core/config.ts:56
↓ 2 callers
Method
getDataToEmit
(bytes: Uint8Array)
src/core/channels/encrypted_channel.ts:142
↓ 2 callers
Method
getDefaultStrategy
( config: Config, options: StrategyOptions, defineTransport: Function, )
src/runtimes/interface.ts:35
↓ 2 callers
Method
getProtocol
()
src/runtimes/interface.ts:28
↓ 2 callers
Function
getUniqueURL
(url: string)
src/core/http/http_socket.ts:196
↓ 2 callers
Method
handleSubscriptionCountEvent
(event: PusherEvent)
src/core/channels/channel.ts:100
↓ 2 callers
Function
hasCustomHandler
( auth: AuthOptionsT<T>, )
src/core/config.ts:136
↓ 2 callers
Function
hasOnlineConnectionState
(connectionState)
src/runtimes/react-native/net_info.ts:6
↓ 2 callers
Method
isSupported
(environment?: any)
src/core/transports/transport_hooks.ts:11
↓ 2 callers
Method
isXDRSupported
(useTLS?: boolean)
src/runtimes/web/browser.ts:19
↓ 2 callers
Function
newTestEncrypt
(payload)
spec/javascripts/unit/core/channels/encrypted_channel_spec.js:271
↓ 2 callers
Method
onDocumentBody
(callback: Function)
src/runtimes/web/browser.ts:13
↓ 2 callers
Method
onError
(error)
src/core/http/http_socket.ts:143
↓ 2 callers
Method
onError
(error)
src/core/transports/transport_connection.ts:167
↓ 2 callers
Method
onEvent
(event)
src/core/http/http_socket.ts:131
↓ 2 callers
Method
onactivity
()
src/core/socket.ts:11
↓ 2 callers
Method
onmessage
(message: any)
src/core/socket.ts:10
↓ 2 callers
Method
openStream
()
src/core/http/http_socket.ts:149
↓ 2 callers
Method
randomInt
(max: number)
src/runtimes/interface.ts:49
↓ 2 callers
Function
randomNumber
(max: number)
src/core/http/http_socket.ts:206
↓ 2 callers
Method
ready
()
src/core/pusher.ts:33
↓ 2 callers
Method
reconnect
For internal use only
src/core/http/http_socket.ts:63
↓ 2 callers
Method
remove
(receiver: ScriptReceiver)
src/runtimes/web/dom/script_receiver_factory.ts:49
↓ 2 callers
Function
safeJSONStringify
(source: any)
src/core/utils/collections.ts:347
↓ 2 callers
Method
sendActivityCheck
()
src/core/connection/connection_manager.ts:238
↓ 2 callers
Method
setMyID
Updates the id for connected member. For internal use only.
src/core/channels/members.ts:43
↓ 2 callers
Function
start_app
(port, pusher_config)
integration_tests_server/index.js:28
↓ 2 callers
Function
testEncrypt
(payload)
spec/javascripts/unit/core/channels/encrypted_channel_spec.js:19
↓ 2 callers
Function
testSupportsStrategy
(strategy: Strategy)
src/runtimes/isomorphic/default_strategy.ts:15
↓ 2 callers
Method
tryStrategy
( strategy: Strategy, minPriority: number, options: StrategyOptions, callback: Function, )
src/core/strategies/sequential_strategy.ts:90
↓ 2 callers
Method
unsubscribe
Sends an unsubscription request. For internal use only.
src/core/channels/channel.ts:147
↓ 2 callers
Function
validateOptions
(options)
src/core/options.ts:52
↓ 1 callers
Method
_onSigninSuccess
(data: any)
src/core/user.ts:99
↓ 1 callers
Method
_subscribeChannels
()
src/core/user.ts:121
↓ 1 callers
Method
add
(name: string, callback: Function, context: any)
src/core/events/callback_registry.ts:16
↓ 1 callers
Method
addMember
Adds a new member to the collection. For internal use only.
src/core/channels/members.ts:55
↓ 1 callers
Method
addUnloadListener
(listener: Function)
src/runtimes/interface.ts:43
↓ 1 callers
Method
advanceBuffer
(buffer: any[])
src/core/http/http_request.ts:65
↓ 1 callers
Function
allRunnersFailed
(runners)
src/core/strategies/best_connected_ever_strategy.ts:70
↓ 1 callers
Method
authorize
Authorizes the connection to use the channel. * * @param {String} socketId * @param {Function} callback
src/core/channels/encrypted_channel.ts:34
↓ 1 callers
Method
authorize
Skips authorization, since public channels don't require it. * * @param {Function} callback
src/core/channels/channel.ts:47
↓ 1 callers
Method
bindListeners
()
src/core/connection/connection.ts:87
↓ 1 callers
Method
bindListeners
()
src/core/connection/handshake/index.ts:44
↓ 1 callers
Method
bindListeners
()
src/core/transports/transport_connection.ts:194
↓ 1 callers
Method
bindWatchlistInternalEvent
()
src/core/watchlist.ts:23
↓ 1 callers
Function
buildChannelAuth
(opts: Options, pusher)
src/core/config.ts:155
↓ 1 callers
Function
buildChannelAuthorizer
( opts: Options, pusher, )
src/core/config.ts:187
↓ 1 callers
Method
buildConnectionCallbacks
( errorCallbacks: ErrorCallbacks, )
src/core/connection/connection_manager.ts:264
↓ 1 callers
Method
buildErrorCallbacks
()
src/core/connection/connection_manager.ts:310
↓ 1 callers
Method
buildHandshakeCallbacks
( errorCallbacks: ErrorCallbacks, )
src/core/connection/connection_manager.ts:292
↓ 1 callers
Function
buildPresenceChannelTests
(getPusher1, getPusher2)
spec/javascripts/integration/core/pusher_spec/test_builder.js:133
↓ 1 callers
Function
buildPublicChannelTests
(getPusher, prefix)
spec/javascripts/integration/core/pusher_spec/test_builder.js:399
↓ 1 callers
Function
buildTest
(ws)
spec/javascripts/unit/core/defaults_spec.js:8
↓ 1 callers
Function
buildUserAuthenticator
(opts: Options)
src/core/config.ts:142
↓ 1 callers
Function
callback
()
spec/javascripts/unit/core/channels/presence_channel_spec.js:54
↓ 1 callers
Function
checkAppKey
(key)
src/core/pusher.ts:258
↓ 1 callers
Method
clearRetryTimer
()
src/core/connection/connection_manager.ts:219
↓ 1 callers
Method
close
()
src/core/http/http_request.ts:40
↓ 1 callers
Function
composeChannelQuery
( params: ChannelAuthorizationRequestParams, authOptions: InternalAuthOptions, )
src/core/auth/channel_authorizer.ts:11
↓ 1 callers
Function
composeChannelQuery
( params: UserAuthenticationRequestParams, authOptions: InternalAuthOptions, )
src/core/auth/user_authenticator.ts:11
← previous
next →
101–200 of 555, ranked by callers