Language

RequestBody Class

Definition

public ref class RequestBody abstract : IDisposable
public abstract class RequestBody : IDisposable
type RequestBody = class
    interface IDisposable
Public MustInherit Class RequestBody
Implements IDisposable
Inheritance
RequestBody
Derived
Implements

Constructors

Name Description
RequestBody()

Methods

Name Description
CreateFromStream(Stream)

Creates an instance of RequestBody that wraps a Stream.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

TryComputeLength(Int64)

Attempts to compute the length of the underlying content, if available.

WriteTo(Stream, CancellationToken)

Writes contents of this object to an instance of Stream.

WriteToAsync(Stream, CancellationToken)

Writes contents of this object to an instance of Stream.

Applies to