Class RecordedExchange
One request that a RecordingHandler sent and what came back: a response, or the exception that took its place.
public sealed class RecordedExchange
- Inheritance
-
RecordedExchange
- Inherited Members
Properties
Error
Gets the exception the inner handler threw instead of returning a response, for example an HttpRequestException for a refused connection or an OperationCanceledException for a timeout; null if there is a Response.
public Exception? Error { get; }
Property Value
Request
Gets the request as it went over the wire, signature headers included.
public RecordedRequest Request { get; }
Property Value
Response
Gets the response, or null if the request failed before a response was read completely: see Error. An error response from DynamoDB is a response like any other.
public RecordedResponse? Response { get; }