Class GetContentBatchRequest
- Namespace
- Quilt4Net.Toolkit.Features.FeatureToggle
- Assembly
- Quilt4Net.Toolkit.dll
Many single-key content requests sent as one call to POST Api/Content/batch.
public record GetContentBatchRequest : IEquatable<GetContentBatchRequest>
- Inheritance
-
GetContentBatchRequest
- Implements
- Inherited Members
Remarks
Each item is exactly what GET Api/Content/{complexKey} takes, so the server resolves - and,
for a key it has never seen, stores - every item the same way. The point is the number of calls: a
page that declares many new keys used to send one request per key, all at once, and each one did
its own reads and writes against the database.
Properties
Items
public required GetContentRequest[] Items { get; init; }