MultipartResponse.ParseAsync(Response, Boolean, CancellationToken) Method

Definition

Parse a multipart/mixed response body into several responses.

public static System.Threading.Tasks.Task<Azure.Response[]> ParseAsync (Azure.Response response, bool expectCrLf, System.Threading.CancellationToken cancellationToken);
static member ParseAsync : Azure.Response * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response[]>
Public Function ParseAsync (response As Response, expectCrLf As Boolean, cancellationToken As CancellationToken) As Task(Of Response())

Parameters

response
Response

The response containing multi-part content.

expectCrLf
Boolean

Controls whether the parser will expect all multi-part boundaries to use CRLF line breaks. This should be true unless more permissive line break parsing is required.

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be cancelled.

Returns

The parsed Responses.

Applies to