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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user