From 7347c3c308ba9ce8c7ff0bad9009487e6ad211c2 Mon Sep 17 00:00:00 2001 From: Simon Woolf Date: Mon, 17 Jun 2024 18:35:31 +0100 Subject: [PATCH] Update textile/features.textile Co-authored-by: sachin shinde --- textile/features.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/textile/features.textile b/textile/features.textile index 06086650..720e1498 100644 --- a/textile/features.textile +++ b/textile/features.textile @@ -517,7 +517,7 @@ h3(#realtime-connection). Connection *** @(RTN15b1)@ @resume@ is the @ProtocolMessage#connectionKey@ from the most recent @CONNECTED@ @ProtocolMessage@ received *** @(RTN15b2)@ This clause has been deleted. It was valid up to and including specification version @1.2@. ** @(RTN15c)@ The system's response to a resume request will be one of the following: -**** @(RTN15c6)@ A @CONNECTED@ @ProtocolMessage@ with the same @connectionId@ as the current client (and no @error@ property). This indicates that the resume attempt was valid. The client library need take no special action other than the usual actions required on becoming @CONNECTED@ per @RTL3d@. +**** @(RTN15c6)@ A @CONNECTED@ @ProtocolMessage@ with the same @connectionId@ as the current client (and no @error@ property). This indicates that the resume attempt was valid. The client library should then follow @RTL3d@ as normal. **** @(RTN15c7)@ @CONNECTED@ @ProtocolMessage@ with a new @connectionId@ and an @ErrorInfo@ in the @error@ field. In this case, the resume was invalid, and the error indicates the cause. The @error@ should be set as the @reason@ in the @CONNECTED@ event, and as the @Connection#errorReason@. The internal @msgSerial@ counter should be reset so that the first message published to Ably will contain a @msgSerial@ of @0@. The client library should then follow @RTL3d@ as normal. **** @(RTN15c5)@ @ERROR@ @ProtocolMessage@ indicating a failure to authenticate as a result of a token error (see "RTN15h":#RTN15h). The transport will be closed by the server. The spec described in "RTN15h":#RTN15h must be followed for a connection being resumed with a token error **** @(RTN15c4)@ Any other @ERROR@ @ProtocolMessage@ indicating a fatal error in the connection. The server will close the transport immediately after. The client should transition to the @FAILED@ state triggering all attached channels to transition to the @FAILED@ state as well. Additionally the @Connection#errorReason@ will be set should be set with the error received from Ably