MultipartResponse.Parse(Response, Boolean, CancellationToken) Method

Definition

Parse a multipart/mixed response body into several responses.

public static Azure.Response[] Parse (Azure.Response response, bool expectCrLf, System.Threading.CancellationToken cancellationToken);
static member Parse : Azure.Response * bool * System.Threading.CancellationToken -> Azure.Response[]
Public Function Parse (response As Response, expectCrLf As Boolean, cancellationToken As CancellationToken) As 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