base/bif/plugins/Zeek_WebSocket.functions.bif.zeek

GLOBAL
WebSocket
Namespaces

GLOBAL, WebSocket

Summary

Functions

WebSocket::__configure_analyzer: function

Configure the WebSocket analyzer.

Detailed Interface

Functions

WebSocket::__configure_analyzer
Type

function (c: connection, aid: count, config: WebSocket::AnalyzerConfig) : bool

Configure the WebSocket analyzer.

Called during websocket_established to configure the WebSocket analyzer given the selected protocol and extension as chosen by the server.

Parameters
  • c – The WebSocket connection.

  • aid – The identifier for the WebSocket analyzer as provided to websocket_established.

  • server_protocol – The protocol as found in the server’s Sec-WebSocket-Protocol HTTP header, or empty.

  • server_extensions – The extension as selected by the server via the Sec-WebSocket-Extensions HTTP Header.

See also: websocket_established