package
8.4.4+incompatible
Repository: https://github.com/codehakase/iris.git
Documentation: pkg.go.dev

# 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.

# Structs

Config the websocket server configuration all of these are optional.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
UnderlineConnection is used for compatible with fasthttp and net/http underline websocket libraries we only need ~8 funcs from websocket.Conn so:.

# 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