# Functions
Dial dials websocket connection which is safe to use in goroutines.
IsWSClosedError checks if error is websocket close error.
NewMockConn construct a connection which returns response bytes back.
Upgrade construct websocket connection which is safe to use in goroutines.
# Variables
ErrAlreadyClosed is returned when trying to read/write from/to closed connection.
# Structs
DialOptions represents Dial's options.
# Interfaces
Conn provides interface for websocket connection.