From 79f845f7352eaacc63d580171d014386db1739d4 Mon Sep 17 00:00:00 2001 From: Andrew Wilcox Date: Wed, 4 Dec 2013 15:09:07 -0500 Subject: [PATCH] Clarify note on client reconnections. --- docs/client/api.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/client/api.html b/docs/client/api.html index 34777678f7..131135c82e 100644 --- a/docs/client/api.html +++ b/docs/client/api.html @@ -495,12 +495,15 @@ Register a callback to be called when the connection is closed. {{#note}} Currently when a client reconnects to the server (such as after -temporarily losing its Internet connection), it will get a new session -each time. - -In the future, when session reconnection is implemented, clients will be -able to reconnect and resume the same session. +temporarily losing its Internet connection), it will get a new +connection each time. The `onConnection` callbacks will be called +again, and the new connection will have a new connection `id`. +In the future, when client reconnection is fully implemented, +reconnecting from the client will reconnect to the same connection on +the server: the `onConnection` callback won't be called for that +connection again, and the connection will still have the same +connection `id`. {{/note}}