Class StubHttpExchangeSnapshotOptions
- Namespace
- XBullet.EasyTesting.Snapshots
- Assembly
- XBullet.EasyTesting.Snapshots.Http.dll
Options for request and response portions of an outbound exchange snapshot.
public sealed class StubHttpExchangeSnapshotOptions
- Inheritance
-
StubHttpExchangeSnapshotOptions
- Inherited Members
Properties
Format
Gets or sets the committed snapshot file format. The default is JSON.
public HttpExchangeSnapshotFormat Format { get; set; }
Property Value
- HttpExchangeSnapshotFormat
Json, Http, or Yaml. The default is JSON; unsupported enum values are rejected when an assertion formats the snapshot.
Request
Gets the request snapshot options.
public StubHttpRequestSnapshotOptions Request { get; }
Property Value
- StubHttpRequestSnapshotOptions
The mutable, options-owned request settings instance. It is created once and cannot be replaced.
Response
Gets the response snapshot options.
public StubHttpResponseSnapshotOptions Response { get; }
Property Value
- StubHttpResponseSnapshotOptions
The mutable, options-owned response settings instance. It is created once and cannot be replaced.