Skip to content

Commit

Permalink
expose 'state constants' on ZitiDummyWebSocketWrapper object
Browse files Browse the repository at this point in the history
  • Loading branch information
rentallect committed Jul 17, 2024
1 parent 4d3016c commit 7569d61
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/http/ziti-dummy-websocket-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ import { isEqual, isUndefined } from 'lodash-es';
*/
class ZitiDummyWebSocketWrapper extends EventEmitter {

static CONNECTING = 0;
static OPEN = 1;
static CLOSING = 2;
static CLOSED = 3;

/**
* Create a new `ZitiDummyWebSocketWrapper`.
*
Expand Down

0 comments on commit 7569d61

Please sign in to comment.