Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/stomp-js/stompjs
/ functions
Functions
486 in github.com/stomp-js/stompjs
⨍
Functions
486
◇
Types & classes
146
↓ 77 callers
Method
activate
* 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 callers
Method
deactivate
* 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 callers
Method
parseChunk
( segment: string | ArrayBuffer, appendMissingNULLonIncoming: boolean = false, )
src/parser.ts:83
↓ 30 callers
Method
publish
* 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 callers
Method
subscribe
* 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 callers
Method
configure
* Updates the client's configuration. * * All properties in the provided configuration object will override the current settings. * * Addi
src/client.ts:729
↓ 18 callers
Method
send
* Transmits data using the connection. data can be a string or an ArrayBuffer.
src/types.ts:145
↓ 13 callers
Function
toUint8Array
(str)
spec/unit/parser.spec.js:1
↓ 11 callers
Method
forceDisconnect
* 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 callers
Method
toString
* @internal
src/frame-impl.ts:129
↓ 10 callers
Method
_transmit
(params)
bundles/stomp.umd.js:817
↓ 10 callers
Method
_transmit
(e)
bundles/stomp.umd.min.js:1
↓ 10 callers
Method
_transmit
(params)
esm6/stomp-handler.js:240
↓ 10 callers
Method
_transmit
(params: { command: string; headers?: StompHeaders; body?: string; binaryBody?: Uint8Array;
src/stomp-handler.ts:376
↓ 10 callers
Method
close
* Closes the connection.
src/types.ts:141
↓ 10 callers
Function
collectReconnectDelays
(client, config, numDelays)
spec/unit/reconnect.spec.js:101
↓ 9 callers
Method
_checkConnection
()
bundles/stomp.umd.js:1666
↓ 9 callers
Method
_checkConnection
()
bundles/stomp.umd.min.js:1
↓ 9 callers
Method
_checkConnection
()
esm6/client.js:688
↓ 9 callers
Method
_checkConnection
()
src/client.ts:1097
↓ 9 callers
Function
unmarshall
(data, escapeHeaderValues)
spec/unit/frame.spec.js:3
↓ 7 callers
Method
_parseConnect
(...args: any[])
src/compatibility/compat-client.ts:39
↓ 6 callers
Function
checkArgs
( args, expectedHeaders, expectedConnectCallback, expectedErrorCallback, expectedCloseEven
spec/unit/compatibility/parse-connect.spec.js:15
↓ 6 callers
Method
connect
* Available for backward compatibility, please shift to using [Client#activate]{@link Client#activate}. * * **Deprecated** * * The `connec
src/compatibility/compat-client.ts:102
↓ 6 callers
Function
setUpSubscription
(client)
spec/unit/ack.spec.js:27
↓ 6 callers
Method
sizeOfUTF8
* 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 callers
Method
_consumeByte
(byte)
bundles/stomp.umd.js:417
↓ 5 callers
Method
_consumeByte
(e)
bundles/stomp.umd.min.js:1
↓ 5 callers
Method
_consumeByte
(byte)
esm6/parser.js:200
↓ 5 callers
Method
_consumeByte
(byte: number)
src/parser.ts:241
↓ 5 callers
Method
marshall
* Serialize a STOMP frame as per STOMP standards, suitable to be sent to the STOMP broker. * * @internal
src/frame-impl.ts:221
↓ 5 callers
Function
vefiyRawFrame
(rawFrame)
spec/unit/parser.spec.js:255
↓ 4 callers
Method
_changeState
(state)
bundles/stomp.umd.js:1094
↓ 4 callers
Method
_changeState
(e)
bundles/stomp.umd.min.js:1
↓ 4 callers
Method
_changeState
(state)
esm6/client.js:116
↓ 4 callers
Method
_changeState
(state: ActivationState)
src/client.ts:648
↓ 4 callers
Method
client
* 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 callers
Method
_closeWebsocket
()
bundles/stomp.umd.js:806
↓ 3 callers
Method
_closeWebsocket
()
bundles/stomp.umd.min.js:1
↓ 3 callers
Method
_closeWebsocket
()
esm6/stomp-handler.js:229
↓ 3 callers
Method
_closeWebsocket
()
src/stomp-handler.ts:362
↓ 3 callers
Method
_consumeTokenAsUTF8
()
bundles/stomp.umd.js:420
↓ 3 callers
Method
_consumeTokenAsUTF8
()
bundles/stomp.umd.min.js:1
↓ 3 callers
Method
_consumeTokenAsUTF8
()
esm6/parser.js:203
↓ 3 callers
Method
_consumeTokenAsUTF8
()
src/parser.ts:245
↓ 3 callers
Method
ack
* 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 callers
Method
begin
* 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 callers
Method
disconnect
* Available for backward compatibility, please shift to using [Client#deactivate]{@link Client#deactivate}. * * **Deprecated** * * See:
src/compatibility/compat-client.ts:132
↓ 3 callers
Method
fromRawFrame
* deserialize a STOMP Frame from raw data. * * @internal
src/frame-impl.ts:93
↓ 3 callers
Method
hdrValueEscape
* Escape header values
src/frame-impl.ts:236
↓ 3 callers
Method
over
* 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 callers
Method
protocolVersions
* Used while creating a WebSocket
src/versions.ts:47
↓ 3 callers
Method
serialize
* 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 callers
Method
_cleanUp
()
bundles/stomp.umd.js:876
↓ 2 callers
Method
_cleanUp
()
bundles/stomp.umd.min.js:1
↓ 2 callers
Method
_cleanUp
()
esm6/stomp-handler.js:299
↓ 2 callers
Method
_cleanUp
()
src/stomp-handler.ts:451
↓ 2 callers
Method
_closeOrDiscardWebsocket
()
bundles/stomp.umd.js:788
↓ 2 callers
Method
_closeOrDiscardWebsocket
()
bundles/stomp.umd.min.js:1
↓ 2 callers
Method
_closeOrDiscardWebsocket
()
esm6/stomp-handler.js:211
↓ 2 callers
Method
_closeOrDiscardWebsocket
()
src/stomp-handler.ts:339
↓ 2 callers
Method
_connect
()
bundles/stomp.umd.js:1399
↓ 2 callers
Method
_connect
()
bundles/stomp.umd.min.js:1
↓ 2 callers
Method
_connect
()
esm6/client.js:421
↓ 2 callers
Method
_connect
()
src/client.ts:785
↓ 2 callers
Method
_consumeTokenAsRaw
()
bundles/stomp.umd.js:423
↓ 2 callers
Method
_consumeTokenAsRaw
()
bundles/stomp.umd.min.js:1
↓ 2 callers
Method
_consumeTokenAsRaw
()
esm6/parser.js:206
↓ 2 callers
Method
_consumeTokenAsRaw
()
src/parser.ts:249
↓ 2 callers
Method
_disposeStompHandler
()
bundles/stomp.umd.js:1620
↓ 2 callers
Method
_disposeStompHandler
()
bundles/stomp.umd.min.js:1
↓ 2 callers
Method
_disposeStompHandler
()
esm6/client.js:642
↓ 2 callers
Method
_disposeStompHandler
()
src/client.ts:1049
↓ 2 callers
Method
_initState
()
bundles/stomp.umd.js:428
↓ 2 callers
Method
_initState
()
bundles/stomp.umd.min.js:1
↓ 2 callers
Method
_initState
()
esm6/parser.js:211
↓ 2 callers
Method
_initState
()
src/parser.ts:255
↓ 2 callers
Method
_reinjectByte
(byte)
bundles/stomp.umd.js:352
↓ 2 callers
Method
_reinjectByte
(e)
bundles/stomp.umd.min.js:1
↓ 2 callers
Method
_reinjectByte
(byte)
esm6/parser.js:135
↓ 2 callers
Method
_reinjectByte
(byte: number)
src/parser.ts:162
↓ 2 callers
Method
_retrievedBody
()
bundles/stomp.umd.js:406
↓ 2 callers
Method
_retrievedBody
()
bundles/stomp.umd.min.js:1
↓ 2 callers
Method
_retrievedBody
()
esm6/parser.js:189
↓ 2 callers
Method
_retrievedBody
()
src/parser.ts:224
↓ 2 callers
Method
abort
* Aborts a transaction. * * It is strongly recommended to call [abort]{@link ITransaction#abort} directly * on the transaction object return
src/client.ts:1256
↓ 2 callers
Method
ack
(e,t,s={})
bundles/stomp.umd.min.js:1
↓ 2 callers
Function
augmentWebsocket
* @internal
bundles/stomp.umd.js:10
↓ 2 callers
Method
bodyLength
()
bundles/stomp.umd.js:167
↓ 2 callers
Method
bodyLength
()
bundles/stomp.umd.min.js:1
↓ 2 callers
Method
bodyLength
()
esm6/frame-impl.js:121
↓ 2 callers
Method
bodyLength
()
src/frame-impl.ts:184
↓ 2 callers
Method
deactivate
* 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 callers
Method
deactivate
(t={})
bundles/stomp.umd.min.js:1
↓ 2 callers
Method
deactivate
* 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 callers
Method
discardWebsocket
()
bundles/stomp.umd.js:810
↓ 2 callers
Method
discardWebsocket
()
bundles/stomp.umd.min.js:1
↓ 2 callers
Method
discardWebsocket
()
esm6/stomp-handler.js:233
↓ 2 callers
Method
discardWebsocket
()
src/stomp-handler.ts:367
↓ 2 callers
Function
executeTestCases
(useWebWorkerHeartbeats, mode)
spec/unit/heart-beat.spec.js:21
next →
1–100 of 486, ranked by callers