Class StubHttpMessageHandlerOptions
- Namespace
- XBullet.EasyTesting.Http
- Assembly
- XBullet.EasyTesting.Http.dll
Controls how much request and response data an HTTP stub retains.
public sealed class StubHttpMessageHandlerOptions
- Inheritance
-
StubHttpMessageHandlerOptions
- Inherited Members
- Extension Methods
Properties
CaptureRequestBodies
Gets whether request bodies are read and retained. The default is true.
public bool CaptureRequestBodies { get; init; }
Property Value
CaptureResponseBodies
Gets whether consumed response bodies are retained. The default is true.
public bool CaptureResponseBodies { get; init; }
Property Value
MaximumRecordedExchanges
Gets the maximum number of completed or pending exchanges retained in recording order, or null for no limit. Zero disables exchange retention.
public int? MaximumRecordedExchanges { get; init; }
Property Value
MaximumRequestBodyBytes
Gets the maximum number of request-body bytes decoded and retained per exchange, or null for no limit.
public int? MaximumRequestBodyBytes { get; init; }
Property Value
MaximumResponseBodyBytes
Gets the maximum number of response-body bytes retained per exchange, or null for no limit.
public int? MaximumResponseBodyBytes { get; init; }