# Functions
New will setup a new websocket client which will connect to the server at the provided uri.
WithInfiniteReconnect will make the client listen forever for the server to reconnect in the event of a connection loss.
WithMaxMessageSize defines the maximum message size in bytes that the client will accept.
WithPongTimeout defines the wait time the client will wait for a pong response from the server.
WithReconnect will enable reconnects from a client, in the event of a connection loss with a server the client will attempt to reconnect.
WithReconnectAttempts will overwrite the default connection attempts of 3 with value attempts, when this value is exceeded the connection will cease to re-connect and exit.
WithReconnectTimeout will overwrite the default timeout between reconnect attempts of 30 seconds with value t.
WithWriteTimeout defines the timeout length that the client will wait before failing the write.
# Structs
Client contains a socket client which connects to one or many servers and channels on those servers.
# Type aliases
OptFunc defines a functional option to pass to the client at setup time.