Port WsConstants from golang/nats-server/server/websocket.go lines 41-106. Includes opcodes, frame header bits, close status codes, compression constants, header names, path routing, and the WsClientKind enum.
Port WsConstants from golang/nats-server/server/websocket.go lines 41-106. Includes opcodes, frame header bits, close status codes, compression constants, header names, path routing, and the WsClientKind enum.