Class RecordedAzureRequest

Namespace
XBullet.EasyTesting.Azure
Assembly
XBullet.EasyTesting.Azure.dll

An immutable Azure SDK pipeline request captured by a stub transport.

public sealed class RecordedAzureRequest
Inheritance
RecordedAzureRequest
Inherited Members

Properties

Content

Gets the buffered request body, when present.

public BinaryData? Content { get; }

Property Value

BinaryData

An owned buffer containing the request body, or null when the request had no content. The content is not redacted and can contain sensitive data.

Headers

Gets captured request headers using case-insensitive keys.

public IReadOnlyDictionary<string, string> Headers { get; }

Property Value

IReadOnlyDictionary<string, string>

A stable, read-only snapshot keyed case-insensitively. Header values are not redacted and can contain sensitive data.

Method

Gets the request method.

public RequestMethod Method { get; }

Property Value

RequestMethod

The Azure pipeline request method captured before the response was created.

Uri

Gets the complete request URI.

public Uri Uri { get; }

Property Value

Uri

The absolute request URI, including its query string. Query values can contain credentials or other sensitive data; unlike scenario diagnostics, this raw record is not redacted.