Skip to main content

Definition

Assembly: Microsoft.Restier.AspNetCore.dll Namespace: Microsoft.Restier.AspNetCore.Batch Inheritance: Microsoft.AspNet.OData.Batch.DefaultODataBatchHandler

Syntax

Microsoft.Restier.AspNetCore.Batch.RestierBatchHandler

Summary

Default implementation of ODataBatchHandler in RESTier.

Constructors

.ctor

Syntax

public RestierBatchHandler()

Methods

ParseBatchRequestsAsync Override

Asynchronously parses the batch requests.

Syntax

public override System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNet.OData.Batch.ODataBatchRequestItem>> ParseBatchRequestsAsync(Microsoft.AspNetCore.Http.HttpContext context)

Parameters

NameTypeDescription
contextMicrosoft.AspNetCore.Http.HttpContextThe HTTP context that contains the batch requests.

Returns

Type: System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNet.OData.Batch.ODataBatchRequestItem>> The task object that represents this asynchronous operation.