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
SignalR HandshakeProtocol.SuccessHandshakeData removed and replaced with helper method
The HandshakeProtocol.SuccessHandshakeData field was removed and replaced with a helper method that generates a successful handshake response given a specific IHubProtocol.
Version introduced
3.0
Old behavior
HandshakeProtocol.SuccessHandshakeData was a public static ReadOnlyMemory<byte> field.
New behavior
HandshakeProtocol.SuccessHandshakeData has been replaced by a static GetSuccessfulHandshake(IHubProtocol protocol) method that returns a ReadOnlyMemory<byte> based on the specified protocol.
Reason for change
This change was made because additional fields were added to the handshake response that are non-constant and change depending on the selected protocol.
Recommended action
None. This type is not designed for use from user code, it is public so it can be shared between the SignalR server and client. It may also be used by customer SignalR clients written in .NET. Users of SignalR should not be affected by this change.
SignalR HandshakeProtocol.SuccessHandshakeData removed and replaced with helper method
The
HandshakeProtocol.SuccessHandshakeData
field was removed and replaced with a helper method that generates a successful handshake response given a specificIHubProtocol
.Version introduced
3.0
Old behavior
HandshakeProtocol.SuccessHandshakeData was a public static
ReadOnlyMemory<byte>
field.New behavior
HandshakeProtocol.SuccessHandshakeData has been replaced by a static
GetSuccessfulHandshake(IHubProtocol protocol)
method that returns aReadOnlyMemory<byte>
based on the specified protocol.Reason for change
This change was made because additional fields were added to the handshake response that are non-constant and change depending on the selected protocol.
Recommended action
None. This type is not designed for use from user code, it is public so it can be shared between the SignalR server and client. It may also be used by customer SignalR clients written in .NET. Users of SignalR should not be affected by this change.
Category
ASP.NET Core
Affected APIs
HandshakeProtocol.SuccessHandshakeData Field
Issue metadata
The text was updated successfully, but these errors were encountered: