# 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.
DefaultClientSourcePath "/iris-ws.js".
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 the result of 64 random combined characters as the id of a new connection.
# 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