Share via


DefaultODataBatchHandler.ParseBatchRequestsAsync(HttpContext) Method

Definition

Converts the incoming OData batch request into a collection of request messages.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.OData.Batch.ODataBatchRequestItem>> ParseBatchRequestsAsync(Microsoft.AspNetCore.Http.HttpContext context);
abstract member ParseBatchRequestsAsync : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.OData.Batch.ODataBatchRequestItem>>
override this.ParseBatchRequestsAsync : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.OData.Batch.ODataBatchRequestItem>>
Public Overridable Function ParseBatchRequestsAsync (context As HttpContext) As Task(Of IList(Of ODataBatchRequestItem))

Parameters

context
HttpContext

The context containing the batch request messages.

Returns

A collection of ODataBatchRequestItem.

Applies to