# Packages
Package events represent the events that can be sent to the client https://dom.spec.whatwg.org/#event.
# Constants
CLOSED is when the websocket is finally closed.
CLOSING is while the websocket is closing but is *not* closed yet.
CONNECTING is the state while the web socket is connecting.
OPEN is the state after the websocket is established and before it starts closing.
# Structs
RootModule is the root module for the websockets API.
WebSocketsAPI is the k6 extension implementing the websocket API as defined in https://websockets.spec.whatwg.org.
# Type aliases
ReadyState is websocket specification's readystate.