# Functions

AsyncSubscription runs the message handling loop given an EventHandler and optional ErrorHandler.
IsNormalWebsocketClose returns true if err indicates a normal EOF close of the websocket.
NewClient constructs a new websocket client to connect to the endpoint specified, subscribing to topics (which may be an empty list).

# Variables

ErrTLSDailFuncNotProvided is returned by NewClient if secure is True but no TLSDailFunc is provided.

# Structs

Client is a basic websocket client for publishing/subscribing to events via the Zeek broker websocket API.

# Type aliases

No description provided by the author
No description provided by the author
TLSDialFunc is a type alias for the function that us used by NewClient to make a TLS connection when connecting to an HTTPS websocket (wss scheme) broker server.