IHttpRecordingStore Interface
Defines the contract for loading and saving recorded HTTP interactions.
public interface IHttpRecordingStoreMethods
| Name | Description |
|---|---|
| LoadAsync(CancellationToken) | Loads all previously recorded entries. Returns an empty collection if no recording exists. |
| SaveAsync(IReadOnlyList<HttpRecordingEntry>, CancellationToken) | Saves all recorded entries, replacing any previous data. |
LoadAsync(CancellationToken)
Loads all previously recorded entries. Returns an empty collection if no recording exists.
ValueTask<IReadOnlyList<HttpRecordingEntry>> LoadAsync(CancellationToken cancellationToken)SaveAsync(IReadOnlyList<HttpRecordingEntry>, CancellationToken)
Saves all recorded entries, replacing any previous data.
ValueTask SaveAsync(IReadOnlyList<HttpRecordingEntry> entries, CancellationToken cancellationToken)