# This file was automatically generated by bifcl from /opt/local/var/macports/build/zeek-devel-c10ab06c/work/zeek-8.0.3/src/cluster/websocket/events.bif (plugin mode).

export {
module Cluster;


## Generated when a new WebSocket client has connected.
##
## endpoint: Various information about the WebSocket client.
##
## subscriptions: The WebSocket client's subscriptions as provided in the handshake.
global websocket_client_added: event(endpoint: EndpointInfo , subscriptions: string_vec );


## Generated when a WebSocket client was lost.
##
## endpoint: Various information about the WebSocket client.
## code: The code sent by the client in its CLOSE frame, or a code generated
##       internally if the server disconnected the client.
## reason: The reason sent by the client in its CLOSE frame, or a reason generated
##         internally if the server disconnected the client.
global websocket_client_lost: event(endpoint: EndpointInfo , code: count , reason: string );

} # end of export section
module GLOBAL;
