diff --git a/src/core/lib/WebSocket.mjs b/src/core/lib/WebSocket.mjs new file mode 100644 index 00000000..502ddcd5 --- /dev/null +++ b/src/core/lib/WebSocket.mjs @@ -0,0 +1,9 @@ +/** + * WebSocket operation resources. + * + * @author cod [sysenter.dev@gmail.com] + * @copyright Crown Copyright 2024 + * @license Apache-2.0 + */ + +export const WEBSOCKET_OPCODE = ["continuation frame", "text frame", "binary frame", "rsv3", "rsv4", "rsv5", "rsv6", "rsv7", "ping", "pong", "rsvb", "rsvc", "rsvd", "rsve", "rsvf"];