HAKOM.Automation.Http.Net.Api.Bulk Namespace
| Classes | |
|---|---|
| BulkController | Handles generic bulk requests by routing each item to the target endpoint’s handler. |
| BulkHandlerAttribute<THandler,TBody,TResult> | Marks an HTTP action method as supporting bulk execution via a dedicated IBulkHandler<TBody,TResult> implementation. |
| BulkHandlerAttribute<THandler,TResult> | Marks an HTTP action method as supporting bulk execution via a dedicated IBulkHandler<TResult> implementation. |
| BulkItemFailure | The per-item result of a failed bulk item, carrying the failure as Error. Serialized with the $successful: "false" discriminator of the Result dialect. |
| BulkItemResponse | The per-item result streamed by the bulk endpoint: one instance per request item, carrying the item’s correlation identifier and its individual HTTP status code. Serialized items speak the Result wire dialect: a $successful type discriminator distinguishes BulkItemSuccess (value) from BulkItemFailure (error). |
| BulkItemSuccess | The per-item result of a successfully processed bulk item, carrying the operation’s result as Value. Serialized with the $successful: "true" discriminator of the Result dialect. |
| Interfaces | |
|---|---|
| IBulkHandler<TBody,TResult> | Defines the contract for a handler that processes a bulk of items for an HTTP endpoint that accepts a typed request body (e.g. POST or PUT). |
| IBulkHandler<TResult> | Defines the contract for a handler that processes a bulk of items for an HTTP endpoint that does not require a request body (e.g. GET or DELETE). |
| IBulkRequest | Describes a bulk request submitted to POST /automation/bulk. |
| IBulkRequestItem | Represents a single item within a IBulkRequest. Each item carries the route and query-string parameters for one logical request, and an optional per-item request body for endpoints that accept one. |
| IBulkResponse<T> | Represents the result of processing a single item in a bulk operation. Each response carries the correlation Identifier echoed from the corresponding request item and a Result<TValue> that models success or failure. |
| IBulkResponseFactory | Creates IBulkResponse<T> instances for a bulk handler to yield. |
Was this page helpful?Thanks for your feedback!