SocketsHttpHandler.PlaintextStreamFilter 屬性

定義

取得或設定能提供純文字 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 通訊協定數據流存取權的回呼。

適用於