net10.0
namespace Microsoft.Extensions.DependencyInjection
{
    public static class MessagePackProtocolDependencyInjectionExtensions
    {
        [RequiresUnreferencedCode("MessagePack does not currently support trimming or native AOT.", Url = "https://aka.ms/aspnet/trimming")]
        public static TBuilder AddMessagePackProtocol<TBuilder>(this TBuilder builder, Action<MessagePackHubProtocolOptions!>! configure)
            where TBuilder, ISignalRBuilder!;
    }
}
nuget.org
0.0 %
Reference this API
.NET
10.0
.NET Framework
4.6.24.74.7.14.7.24.84.8.1
Information specific to net10.0
Assembly

Microsoft.AspNetCore.SignalR.Protocols.MessagePack , Version=10.0.1.0, PublicKeyToken=adb9793829ddae60

Referencing

Your project needs a package reference to Microsoft.AspNetCore.SignalR.Protocols.MessagePack.

Package Microsoft.AspNetCore.SignalR.Protocols.MessagePack (10.0.1) net10.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API