# Functions

NewMessageHandler creates a MessageHandler from the given MessageHandlerFunc.
NewWSClient creates a new WSClient.
WrapDialer will wrap a *websocket.Dialer so it conforms to this package's interface.

# Constants

Websocket Message types.
Websocket Message types.

# Structs

Options enables setting up a WSClient with the desired connection settings.
WSMessage is a struct that wraps a message received or to be sent over a websocket connection.

# Interfaces

Conn is the interface for a *websocket.Conn as used in this wrapper package.
Dialer is the interface for a *websocket.Dialer as used in this wrapper package.
MessageHandler is the api of an object that has a HandleRequest MessageHandlerFunc method.
WSClient is the api for a client that maintains an active websocket connection and hands off messages to be processed.

# Type aliases

MessageHandlerFunc is the api of a handler that processes a WSMessage and sends a response back over the response channe;.
MessageType represents the type of data being sent or received over a websocket connection.