# Functions
ClientHandler is the handler which serves the javascript client-side library.
New returns a new websocket Server based on a configuration.
# Constants
All is the string which the Emitter use to send a message to all.
Broadcast is the string which the Emitter use to send a message to all except this connection.
CloseMessage denotes a close control message.
DefaultEvtMessageKey is the default prefix of the underline websocket events that are being established under the hoods.
DefaultWebsocketMaxMessageSize 1024.
DefaultWebsocketPingPeriod (DefaultPongTimeout * 9) / 10.
DefaultWebsocketPongTimeout 60 * time.Second.
DefaultWebsocketReadBufferSize 4096.
DefaultWebsocketReadTimeout 0, no timeout.
DefaultWebsocketWriterBufferSize 4096.
DefaultWebsocketWriteTimeout 0, no timeout.
WriteWait is 1 second at the internal implementation, same as here but this can be changed at the future*.
# Variables
ClientSource the client-side javascript raw source code.
DefaultIDGenerator returns a random unique for a new connection.
ErrAlreadyDisconnected can be reported on the `Connection#Disconnect` function whenever the caller tries to close the connection when it is already closed by the client or the caller previously.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
UnderlineConnection is the underline connection, nothing to think about, it's used internally mostly but can be used for extreme cases with other libraries.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author