aspnetcore/src/Microsoft.AspNetCore.Signal.../Internal/Protocol/HandshakeResponseMessage.cs

18 lines
539 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.SignalR.Internal.Protocol
{
public class HandshakeResponseMessage : HubMessage
{
public static readonly HandshakeResponseMessage Empty = new HandshakeResponseMessage(null);
public string Error { get; }
public HandshakeResponseMessage(string error)
{
Error = error;
}
}
}