base/protocols/websocket/consts.zeek

WebSocket

WebSocket constants.

Namespace:

WebSocket

Summary

Redefinable Options

WebSocket::opcodes: table &default = function &redef

Constants

WebSocket::HANDSHAKE_GUID: string

WebSocket::OPCODE_BINARY: count

WebSocket::OPCODE_CLOSE: count

WebSocket::OPCODE_CONTINUATION: count

WebSocket::OPCODE_PING: count

WebSocket::OPCODE_PONG: count

WebSocket::OPCODE_TEXT: count

Detailed Interface

Redefinable Options

WebSocket::opcodes
Type:

table [count] of string

Attributes:

&default = function &redef

Default:
{
   [0] = "continuation",
   [9] = "ping",
   [10] = "pong",
   [2] = "binary",
   [8] = "close",
   [1] = "text"
}

Constants

WebSocket::HANDSHAKE_GUID
Type:

string

Default:

"258EAFA5-E914-47DA-95CA-C5AB0DC85B11"

WebSocket::OPCODE_BINARY
Type:

count

Default:

2

WebSocket::OPCODE_CLOSE
Type:

count

Default:

8

WebSocket::OPCODE_CONTINUATION
Type:

count

Default:

0

WebSocket::OPCODE_PING
Type:

count

Default:

9

WebSocket::OPCODE_PONG
Type:

count

Default:

10

WebSocket::OPCODE_TEXT
Type:

count

Default:

1