<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.2-rc" />

PushStreamContent

Enables scenarios where a data producer wants to write directly (either synchronously or asynchronously) using a stream.

Initializes a new instance of the PushStreamContent class.

Initializes a new instance of the PushStreamContent class.

public PushStreamContent(Action<Stream, HttpContent, TransportContext> onStreamAvailable, string mediaType)

Initializes a new instance of the PushStreamContent class.

public PushStreamContent(Func<Stream, HttpContent, TransportContext, Task> onStreamAvailable, string mediaType)

Initializes a new instance of the PushStreamContent class.

Initializes a new instance of the PushStreamContent class.

Initializes a new instance of the PushStreamContent class.