MCPcopy Create free account

hub / github.com/stomp-js/stompjs / functions

Functions486 in github.com/stomp-js/stompjs

↓ 77 callersMethodactivate
* Activates the client, initiating a connection to the STOMP broker. * * On activation, the client attempts to connect and sets its state to `AC
src/client.ts:761
↓ 49 callersMethoddeactivate
* Disconnects the client and stops the automatic reconnection loop. * * If there is an active STOMP connection at the time of invocation, the ap
src/client.ts:979
↓ 41 callersMethodparseChunk
( segment: string | ArrayBuffer, appendMissingNULLonIncoming: boolean = false, )
src/parser.ts:83
↓ 30 callersMethodpublish
* Sends a message to the specified destination on the STOMP broker. * * The `body` must be a `string`. For non-string payloads (e.g., JSON), enc
src/client.ts:1091
↓ 28 callersMethodsubscribe
* Subscribes to a destination on the STOMP broker. * * The callback is triggered for each message received from the subscribed destination. The
src/client.ts:1161
↓ 25 callersMethodconfigure
* Updates the client's configuration. * * All properties in the provided configuration object will override the current settings. * * Addi
src/client.ts:729
↓ 18 callersMethodsend
* Transmits data using the connection. data can be a string or an ArrayBuffer.
src/types.ts:145
↓ 13 callersFunctiontoUint8Array
(str)
spec/unit/parser.spec.js:1
↓ 11 callersMethodforceDisconnect
* Forces a disconnect by directly closing the WebSocket. * * Unlike a normal disconnect, this does not send a DISCONNECT sequence to the broker
src/client.ts:1043
↓ 11 callersMethodtoString
* @internal
src/frame-impl.ts:129
↓ 10 callersMethod_transmit
(params)
bundles/stomp.umd.js:817
↓ 10 callersMethod_transmit
(e)
bundles/stomp.umd.min.js:1
↓ 10 callersMethod_transmit
(params)
esm6/stomp-handler.js:240
↓ 10 callersMethod_transmit
(params: { command: string; headers?: StompHeaders; body?: string; binaryBody?: Uint8Array;
src/stomp-handler.ts:376
↓ 10 callersMethodclose
* Closes the connection.
src/types.ts:141
↓ 10 callersFunctioncollectReconnectDelays
(client, config, numDelays)
spec/unit/reconnect.spec.js:101
↓ 9 callersMethod_checkConnection
()
bundles/stomp.umd.js:1666
↓ 9 callersMethod_checkConnection
()
bundles/stomp.umd.min.js:1
↓ 9 callersMethod_checkConnection
()
esm6/client.js:688
↓ 9 callersMethod_checkConnection
()
src/client.ts:1097
↓ 9 callersFunctionunmarshall
(data, escapeHeaderValues)
spec/unit/frame.spec.js:3
↓ 7 callersMethod_parseConnect
(...args: any[])
src/compatibility/compat-client.ts:39
↓ 6 callersFunctioncheckArgs
( args, expectedHeaders, expectedConnectCallback, expectedErrorCallback, expectedCloseEven
spec/unit/compatibility/parse-connect.spec.js:15
↓ 6 callersMethodconnect
* Available for backward compatibility, please shift to using [Client#activate]{@link Client#activate}. * * **Deprecated** * * The `connec
src/compatibility/compat-client.ts:102
↓ 6 callersFunctionsetUpSubscription
(client)
spec/unit/ack.spec.js:27
↓ 6 callersMethodsizeOfUTF8
* Compute the size of a UTF-8 string by counting its number of bytes * (and not the number of characters composing the string)
src/frame-impl.ts:193
↓ 5 callersMethod_consumeByte
(byte)
bundles/stomp.umd.js:417
↓ 5 callersMethod_consumeByte
(e)
bundles/stomp.umd.min.js:1
↓ 5 callersMethod_consumeByte
(byte)
esm6/parser.js:200
↓ 5 callersMethod_consumeByte
(byte: number)
src/parser.ts:241
↓ 5 callersMethodmarshall
* Serialize a STOMP frame as per STOMP standards, suitable to be sent to the STOMP broker. * * @internal
src/frame-impl.ts:221
↓ 5 callersFunctionvefiyRawFrame
(rawFrame)
spec/unit/parser.spec.js:255
↓ 4 callersMethod_changeState
(state)
bundles/stomp.umd.js:1094
↓ 4 callersMethod_changeState
(e)
bundles/stomp.umd.min.js:1
↓ 4 callersMethod_changeState
(state)
esm6/client.js:116
↓ 4 callersMethod_changeState
(state: ActivationState)
src/client.ts:648
↓ 4 callersMethodclient
* This method creates a WebSocket client that is connected to * the STOMP server located at the url. * * ```javascript * var url =
src/compatibility/stomp.ts:57
↓ 3 callersMethod_closeWebsocket
()
bundles/stomp.umd.js:806
↓ 3 callersMethod_closeWebsocket
()
bundles/stomp.umd.min.js:1
↓ 3 callersMethod_closeWebsocket
()
esm6/stomp-handler.js:229
↓ 3 callersMethod_closeWebsocket
()
src/stomp-handler.ts:362
↓ 3 callersMethod_consumeTokenAsUTF8
()
bundles/stomp.umd.js:420
↓ 3 callersMethod_consumeTokenAsUTF8
()
bundles/stomp.umd.min.js:1
↓ 3 callersMethod_consumeTokenAsUTF8
()
esm6/parser.js:203
↓ 3 callersMethod_consumeTokenAsUTF8
()
src/parser.ts:245
↓ 3 callersMethodack
* Acknowledges receipt of a message. Typically, this should be done by calling * [ack]{@link IMessage#ack} directly on the {@link IMessage} instanc
src/client.ts:1281
↓ 3 callersMethodbegin
* Starts a new transaction. The returned {@link ITransaction} object provides * methods for [commit]{@link ITransaction#commit} and [abort]{@link I
src/client.ts:1214
↓ 3 callersMethoddisconnect
* Available for backward compatibility, please shift to using [Client#deactivate]{@link Client#deactivate}. * * **Deprecated** * * See:
src/compatibility/compat-client.ts:132
↓ 3 callersMethodfromRawFrame
* deserialize a STOMP Frame from raw data. * * @internal
src/frame-impl.ts:93
↓ 3 callersMethodhdrValueEscape
* Escape header values
src/frame-impl.ts:236
↓ 3 callersMethodover
* This method is an alternative to [Stomp#client]{@link Stomp#client} to let the user * specify the WebSocket to use (either a standard HTML5 WebSo
src/compatibility/stomp.ts:103
↓ 3 callersMethodprotocolVersions
* Used while creating a WebSocket
src/versions.ts:47
↓ 3 callersMethodserialize
* serialize this Frame in a format suitable to be passed to WebSocket. * If the body is string the output will be string. * If the body is binar
src/frame-impl.ts:140
↓ 2 callersMethod_cleanUp
()
bundles/stomp.umd.js:876
↓ 2 callersMethod_cleanUp
()
bundles/stomp.umd.min.js:1
↓ 2 callersMethod_cleanUp
()
esm6/stomp-handler.js:299
↓ 2 callersMethod_cleanUp
()
src/stomp-handler.ts:451
↓ 2 callersMethod_closeOrDiscardWebsocket
()
bundles/stomp.umd.js:788
↓ 2 callersMethod_closeOrDiscardWebsocket
()
bundles/stomp.umd.min.js:1
↓ 2 callersMethod_closeOrDiscardWebsocket
()
esm6/stomp-handler.js:211
↓ 2 callersMethod_closeOrDiscardWebsocket
()
src/stomp-handler.ts:339
↓ 2 callersMethod_connect
()
bundles/stomp.umd.js:1399
↓ 2 callersMethod_connect
()
bundles/stomp.umd.min.js:1
↓ 2 callersMethod_connect
()
esm6/client.js:421
↓ 2 callersMethod_connect
()
src/client.ts:785
↓ 2 callersMethod_consumeTokenAsRaw
()
bundles/stomp.umd.js:423
↓ 2 callersMethod_consumeTokenAsRaw
()
bundles/stomp.umd.min.js:1
↓ 2 callersMethod_consumeTokenAsRaw
()
esm6/parser.js:206
↓ 2 callersMethod_consumeTokenAsRaw
()
src/parser.ts:249
↓ 2 callersMethod_disposeStompHandler
()
bundles/stomp.umd.js:1620
↓ 2 callersMethod_disposeStompHandler
()
bundles/stomp.umd.min.js:1
↓ 2 callersMethod_disposeStompHandler
()
esm6/client.js:642
↓ 2 callersMethod_disposeStompHandler
()
src/client.ts:1049
↓ 2 callersMethod_initState
()
bundles/stomp.umd.js:428
↓ 2 callersMethod_initState
()
bundles/stomp.umd.min.js:1
↓ 2 callersMethod_initState
()
esm6/parser.js:211
↓ 2 callersMethod_initState
()
src/parser.ts:255
↓ 2 callersMethod_reinjectByte
(byte)
bundles/stomp.umd.js:352
↓ 2 callersMethod_reinjectByte
(e)
bundles/stomp.umd.min.js:1
↓ 2 callersMethod_reinjectByte
(byte)
esm6/parser.js:135
↓ 2 callersMethod_reinjectByte
(byte: number)
src/parser.ts:162
↓ 2 callersMethod_retrievedBody
()
bundles/stomp.umd.js:406
↓ 2 callersMethod_retrievedBody
()
bundles/stomp.umd.min.js:1
↓ 2 callersMethod_retrievedBody
()
esm6/parser.js:189
↓ 2 callersMethod_retrievedBody
()
src/parser.ts:224
↓ 2 callersMethodabort
* Aborts a transaction. * * It is strongly recommended to call [abort]{@link ITransaction#abort} directly * on the transaction object return
src/client.ts:1256
↓ 2 callersMethodack
(e,t,s={})
bundles/stomp.umd.min.js:1
↓ 2 callersFunctionaugmentWebsocket
* @internal
bundles/stomp.umd.js:10
↓ 2 callersMethodbodyLength
()
bundles/stomp.umd.js:167
↓ 2 callersMethodbodyLength
()
bundles/stomp.umd.min.js:1
↓ 2 callersMethodbodyLength
()
esm6/frame-impl.js:121
↓ 2 callersMethodbodyLength
()
src/frame-impl.ts:184
↓ 2 callersMethoddeactivate
* Disconnects the client and stops the automatic reconnection loop. * * If there is an active STOMP connection at the time of invoca
bundles/stomp.umd.js:1559
↓ 2 callersMethoddeactivate
(t={})
bundles/stomp.umd.min.js:1
↓ 2 callersMethoddeactivate
* Disconnects the client and stops the automatic reconnection loop. * * If there is an active STOMP connection at the time of invocation, th
esm6/client.js:581
↓ 2 callersMethoddiscardWebsocket
()
bundles/stomp.umd.js:810
↓ 2 callersMethoddiscardWebsocket
()
bundles/stomp.umd.min.js:1
↓ 2 callersMethoddiscardWebsocket
()
esm6/stomp-handler.js:233
↓ 2 callersMethoddiscardWebsocket
()
src/stomp-handler.ts:367
↓ 2 callersFunctionexecuteTestCases
(useWebWorkerHeartbeats, mode)
spec/unit/heart-beat.spec.js:21
next →1–100 of 486, ranked by callers