UNPKG

@jsonjoy.com/reactive-rpc

Version:

Reactive-RPC is a library for building reactive APIs over WebSocket, HTTP, and other RPCs.

11 lines 516 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WebSocketState = void 0; var WebSocketState; (function (WebSocketState) { WebSocketState[WebSocketState["CONNECTING"] = 0] = "CONNECTING"; WebSocketState[WebSocketState["OPEN"] = 1] = "OPEN"; WebSocketState[WebSocketState["CLOSING"] = 2] = "CLOSING"; WebSocketState[WebSocketState["CLOSED"] = 3] = "CLOSED"; })(WebSocketState || (exports.WebSocketState = WebSocketState = {})); //# sourceMappingURL=constants.js.map