Share via


NegotiationResponse Class

Definition

A response to a '/negotiate' request.

public ref class NegotiationResponse
public class NegotiationResponse
type NegotiationResponse = class
Public Class NegotiationResponse
Inheritance
NegotiationResponse

Constructors

NegotiationResponse()

Properties

AccessToken

An optional access token to go along with the Url.

AvailableTransports

A list of transports the server supports.

ConnectionId

The public ID for the connection.

ConnectionToken

The private ID for the connection.

Error

An optional error during the negotiate. If this is not null the other properties on the response can be ignored.

Url

An optional Url to redirect the client to another endpoint.

UseStatefulReconnect

If set, the connection should attempt to reconnect with the same ConnectionId if it disconnects. It should also set IStatefulReconnectFeature on the Features collection so other layers of the application (like SignalR) can react.

Version

The minimum value between the version the client sends and the maximum version the server supports.

Applies to