You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -42,12 +43,11 @@ The response to the `POST [endpoint-base]/negotiate` request contains one of thr
42
43
The payload that this endpoint returns provides the following data:
43
44
44
45
* The `connectionId` value is required by the `LongPolling` and `ServerSentEvents` transports to correlate sending and receiving.
45
-
* The `negotiateVersion` value is the negotiation protocol version that you use between the server and the client.
46
+
* The `negotiateVersion` value is the negotiation protocol version that you use between the server and the client, see [Transport Protocols](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md).
47
+
*`negotiateVersion: 0` only returns `connectionId`, and client should use the value of `connectionId` as `id` in connect requests.
48
+
*`negotiateVersion: 1` returns `connectionId` and `connectionToken`, and client should use the value of `connectionToken` as `id` in connect requests.
46
49
* The `availableTransports` list describes the transports that the server supports. For each transport, the payload lists the name of the transport (`transport`) and a list of transfer formats that the transport supports (`transferFormats`).
47
50
48
-
> [!NOTE]
49
-
> Azure SignalR Service supports only `Version 0` for the negotiation protocol. A client that has a `negotiateVersion` value greater than zero will get a response with `negotiateVersion=0` by design. For protocol details, see [Transport Protocols](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md).
50
-
51
51
* A redirect response that tells the client which URL and (optionally) access token to use as a result:
0 commit comments