package
3.0.0-rc.3+incompatible
Repository: https://github.com/drillbits/iris.git
Documentation: pkg.go.dev
# README
Package information
This package is new and unique, if you notice a bug or issue post it here.
How to use
Notes
On OSX + Safari, we had an issue which is fixed now. BUT by the browser's Engine Design the socket is not closed until the whole browser window is closed, so the connection.OnDisconnect event will fire when the user closes the window browser, not just the browser's tab.
- Relative issue: https://github.com/kataras/iris/issues/175
# Functions
New returns a new running websocket server, registers this to the iris station
Note that: This is not usable for you, unless you need more than one websocket server, because iris' station already has one which you can configure and start
This is deprecated after rc-1, now we create the server and after register it because I want to be able to call the Websocket via a property and no via func before iris.Listen.
NewServer creates a websocket server and returns it.
RegisterServer registers the handlers for the websocket server it's a bridge between station and websocket server.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# 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