File: Features\ITransferFormatFeature.cs
Web Access
Project: src\src\Servers\Connections.Abstractions\src\Microsoft.AspNetCore.Connections.Abstractions.csproj (Microsoft.AspNetCore.Connections.Abstractions)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Connections.Features;
 
/// <summary>
/// Gets the transfer format of the protocol.
/// </summary>
public interface ITransferFormatFeature
{
    /// <summary>
    /// Gets the supported <see cref="TransferFormat"/>.
    /// </summary>
    TransferFormat SupportedFormats { get; }
 
    /// <summary>
    /// Gets or sets the active <see cref="TransferFormat"/>.
    /// </summary>
    TransferFormat ActiveFormat { get; set; }
}