Share via


BaseRequest.SendStreamRequestAsync Method

Definition

Sends the request.

public System.Threading.Tasks.Task<System.IO.Stream> SendStreamRequestAsync (object serializableObject, System.Threading.CancellationToken cancellationToken, System.Net.Http.HttpCompletionOption completionOption = System.Net.Http.HttpCompletionOption.ResponseContentRead);
member this.SendStreamRequestAsync : obj * System.Threading.CancellationToken * System.Net.Http.HttpCompletionOption -> System.Threading.Tasks.Task<System.IO.Stream>
Public Function SendStreamRequestAsync (serializableObject As Object, cancellationToken As CancellationToken, Optional completionOption As HttpCompletionOption = System.Net.Http.HttpCompletionOption.ResponseContentRead) As Task(Of Stream)

Parameters

serializableObject
Object

The serializable object to send.

cancellationToken
CancellationToken

The CancellationToken for the request.

completionOption
HttpCompletionOption

The HttpCompletionOption to pass to the IHttpProvider on send.

Returns

The stream.

Applies to