Share via


StreamHelperExtensions Class

Definition

HTTP extension methods for Stream.

public ref class StreamHelperExtensions abstract sealed
public static class StreamHelperExtensions
type StreamHelperExtensions = class
Public Module StreamHelperExtensions
Inheritance
StreamHelperExtensions

Methods

DrainAsync(Stream, ArrayPool<Byte>, Nullable<Int64>, CancellationToken)

Reads the specified stream to the end.

This API is effective when used in conjunction with buffering. It allows a buffered request stream to be synchronously read after it has been completely drained.

DrainAsync(Stream, CancellationToken)

Reads the specified stream to the end.

This API is effective when used in conjunction with buffering. It allows a buffered request stream to be synchronously read after it has been completely drained.

DrainAsync(Stream, Nullable<Int64>, CancellationToken)

Reads the specified stream to the end.

This API is effective when used in conjunction with buffering. It allows a buffered request stream to be synchronously read after it has been completely drained.

Applies to