1 | /**
|
2 | * Part of `@stomp/stompjs`.
|
3 | *
|
4 | * @internal
|
5 | */
|
6 | export class HeartbeatInfo {
|
7 | constructor(client) {
|
8 | this.client = client;
|
9 | }
|
10 | get outgoing() {
|
11 | return this.client.heartbeatOutgoing;
|
12 | }
|
13 | set outgoing(value) {
|
14 | this.client.heartbeatOutgoing = value;
|
15 | }
|
16 | get incoming() {
|
17 | return this.client.heartbeatIncoming;
|
18 | }
|
19 | set incoming(value) {
|
20 | this.client.heartbeatIncoming = value;
|
21 | }
|
22 | }
|
23 | //# sourceMappingURL=heartbeat-info.js.map |
\ | No newline at end of file |