Create WebSocket.mjs

This commit is contained in:
cod 2024-03-16 17:44:53 +03:00 committed by GitHub
parent 0bbb3b6179
commit 7c813e0be9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"];