1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00

nothing tremendous here

Former-commit-id: 9ae6a00400750b9769383ea28bb00f2b202fb79e
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-06-27 16:28:44 +03:00
parent 33028f900d
commit 7e6dc3240a
3 changed files with 11 additions and 17 deletions

View File

@@ -49,12 +49,10 @@ var (
// See examples for more.
Dial = neffos.Dial
// IsTryingToReconnect reports whether the "err" is from a client
// that was trying to reconnect to the websocket server,
// the first output parameter is the number of total reconnection retries,
// including the previous failures and the succeed last one.
// IsTryingToReconnect reports whether the returning "err" from the `Server#Upgrade`
// is from a client that was trying to reconnect to the websocket server.
//
// Use it on registered callbacks for `Server#OnUpgradeError`.
// Look the `Conn#WasReconnected` and `Conn#ReconnectTries` too.
IsTryingToReconnect = neffos.IsTryingToReconnect
// OnNamespaceConnect is the event name which its callback is fired right before namespace connect,