UNPKG
@stomp/stompjs
Version:
beta (7.0.0-beta5)
latest (7.1.1)
7.1.1
7.1.0
7.0.1
7.0.0
7.0.0-beta5
7.0.0-beta4
7.0.0-beta3
7.0.0-beta2
7.0.0-beta1
6.1.2
6.1.1
6.1.0
6.0.0
6.0.0-beta3
6.0.0-beta2
6.0.0-beta1
5.4.4
5.4.3
5.4.2
5.4.1
5.3.0
5.3.0-beta1
5.2.0
5.2.0-beta.1
5.1.0
5.1.0-beta.1
5.0.2
5.0.1
5.0.0
5.0.0-beta.5
5.0.0-beta.4
5.0.0-beta.3
4.0.8
4.0.7
4.0.6
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.1.2
3.1.1
3.0.3
3.0.2
3.0.1
2.5.4
2.5.3
2.5.2
2.5.1
STOMP client for Javascript and Typescript
github.com/stomp-js/stompjs
stomp-js/stompjs
@stomp/stompjs
/
esm5
/
web-socket-state.d.ts
14 lines
(13 loc)
•
250 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/** * Possible states for the WebSocket, copied here to avoid dependency on WebSocket class * * Part of `@stomp/rx-stomp` * * @internal */
export
declare
enum
WebSocketState { CONNECTING =
0
, OPEN =
1
,
CLOSING
=
2
,
CLOSED
=
3
}