SocketsHttpHandler.PlaintextStreamFilter Property

Definition

Gets or sets a custom callback that provides access to the plaintext HTTP protocol stream.

C#
public Func<System.Net.Http.SocketsHttpPlaintextStreamFilterContext,System.Threading.CancellationToken,System.Threading.Tasks.ValueTask<System.IO.Stream>>? PlaintextStreamFilter { get; set; }

Property Value

A callback that provides access to the plaintext HTTP protocol stream.

Applies to

Product Versions
.NET 5, 6, 7, 8, 9, 10