Definition
Assembly: Microsoft.Restier.AspNet.dll Namespace: Microsoft.Restier.AspNet.Batch Inheritance: Microsoft.AspNet.OData.Batch.DefaultODataBatchHandlerSyntax
Summary
Default implementation of ODataBatchHandler in RESTier.Constructors
.ctor
Initializes a new instance of the RestierBatchHandler class.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
httpServer | System.Web.Http.HttpServer | The HTTP server instance. |
Methods
ParseBatchRequestsAsync Override
Asynchronously parses the batch requests.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
request | System.Net.Http.HttpRequestMessage | The HTTP request that contains the batch requests. |
cancellationToken | System.Threading.CancellationToken | The cancellation token. |
Returns
Type:System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNet.OData.Batch.ODataBatchRequestItem>>
The task object that represents this asynchronous operation.