SocketsHttpHandler.PlaintextStreamFilter Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a custom callback that provides access to the plaintext HTTP protocol stream.
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))
Property Value
A callback that provides access to the plaintext HTTP protocol stream.
Exceptions
An operation has already been started on the current instance.
The current instance has been disposed.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.