SocketsHttpHandler.PlaintextStreamFilter 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个自定义回叫,用于提供对纯文本 HTTP 协议流的访问。
public:
property Func<System::Net::Http::SocketsHttpPlaintextStreamFilterContext ^, System::Threading::CancellationToken, System::Threading::Tasks::ValueTask<System::IO::Stream ^>> ^ PlaintextStreamFilter { Func<System::Net::Http::SocketsHttpPlaintextStreamFilterContext ^, System::Threading::CancellationToken, System::Threading::Tasks::ValueTask<System::IO::Stream ^>> ^ get(); void set(Func<System::Net::Http::SocketsHttpPlaintextStreamFilterContext ^, System::Threading::CancellationToken, System::Threading::Tasks::ValueTask<System::IO::Stream ^>> ^ value); };
public Func<System.Net.Http.SocketsHttpPlaintextStreamFilterContext,System.Threading.CancellationToken,System.Threading.Tasks.ValueTask<System.IO.Stream>>? PlaintextStreamFilter { get; set; }
member this.PlaintextStreamFilter : Func<System.Net.Http.SocketsHttpPlaintextStreamFilterContext, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.IO.Stream>> with get, set
Public Property PlaintextStreamFilter As Func(Of SocketsHttpPlaintextStreamFilterContext, CancellationToken, ValueTask(Of Stream))
属性值
提供对纯文本 HTTP 协议流的访问的回调。