net11.0
namespace System.Net.Http
{
    [UnsupportedOSPlatform("browser")]
    public sealed class SocketsHttpHandler : HttpMessageHandler
    {
        [Experimental("SYSLIB5008", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
        public Func<SocketsHttpConnectionEvictionContext!, CancellationToken, Task<bool>!>? ShouldEvictConnection { get; set; }
    }
}
Design Reviews
.NET
11.0
Information specific to net11.0
Assembly

System.Net.Http , Version=11.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Preview SYSLIB5008: This API is marked as experimental.(more details)
Platform Restrictions

The property getter is supported on any platform except for these:

  • Browser

The property setter is supported on any platform except for these:

  • Browser
  • Built-in API
  • Package-provided API