BatchRequestContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A HttpContent implementation to handle json batch requests.
public class BatchRequestContent : System.Net.Http.HttpContent
type BatchRequestContent = class
inherit HttpContent
Public Class BatchRequestContent
Inherits HttpContent
- Inheritance
-
BatchRequestContent
Constructors
BatchRequestContent() |
Constructs a new BatchRequestContent. |
BatchRequestContent(BatchRequestStep[], ISerializer) |
Constructs a new BatchRequestContent. |
BatchRequestContent(BatchRequestStep[]) |
Constructs a new BatchRequestContent. |
Properties
BatchRequestSteps |
A BatchRequestSteps property. |
Serializer |
Gets a serializer for serializing and deserializing JSON objects. |
Methods
AddBatchRequestStep(BatchRequestStep) |
Adds a BatchRequestStep to batch request content if doesn't exists. |
AddBatchRequestStep(HttpRequestMessage) |
Adds a HttpRequestMessage to batch request content. |
AddBatchRequestStep(IBaseRequest) |
Adds a IBaseRequest to batch request content |
RemoveBatchRequestStepWithId(String) |
Removes a BatchRequestStep from batch request content for the specified id. |
SerializeToStreamAsync(Stream, TransportContext) |
Serialize the HTTP content to a stream as an asynchronous operation. |
TryComputeLength(Int64) |
Determines whether the HTTP content has a valid length in bytes. |