package
0.0.0-20191103002815-9a42957e2b3a
Repository: https://github.com/gopherjs/websocket.git
Documentation: pkg.go.dev

# Functions

New creates a new low-level WebSocket.

# Constants

Closed means that the connection has been closed or could not be opened.
Closing means that the connection is going through the closing handshake, or the Close() method has been invoked.
Connecting means that the connection has not yet been established.
Open means that the WebSocket connection is established and communication is possible.

# Structs

WebSocket is a low-level convenience wrapper around the browser's WebSocket object.

# Type aliases

ReadyState represents the state that a WebSocket is in.