File: Internal\RedisCompletion.cs
Web Access
Project: src\src\SignalR\server\StackExchangeRedis\src\Microsoft.AspNetCore.SignalR.StackExchangeRedis.csproj (Microsoft.AspNetCore.SignalR.StackExchangeRedis)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Buffers;
 
namespace Microsoft.AspNetCore.SignalR.StackExchangeRedis.Internal;
 
internal readonly struct RedisCompletion
{
    public ReadOnlySequence<byte> CompletionMessage { get; }
 
    public string ProtocolName { get; }
 
    public RedisCompletion(string protocolName, ReadOnlySequence<byte> completionMessage)
    {
        ProtocolName = protocolName;
        CompletionMessage = completionMessage;
    }
}