namespace Web enum WebSocketOpCode CONTINUATION = 0 TEXT = 1 BINARY = 2 CLOSE = 8 PING = 9 PONG = 10 end enum end namespace