Class ControllerBinaryBodySnapshot

Namespace
XBullet.EasyTesting.Snapshots
Assembly
XBullet.EasyTesting.Snapshots.Core.dll

A binary response body encoded for a text snapshot file.

public sealed record ControllerBinaryBodySnapshot : IEquatable<ControllerBinaryBodySnapshot>
Inheritance
ControllerBinaryBodySnapshot
Implements
Inherited Members

Constructors

ControllerBinaryBodySnapshot(string, string)

A binary response body encoded for a text snapshot file.

public ControllerBinaryBodySnapshot(string Encoding, string Value)

Parameters

Encoding string

Name of the text encoding used for Value. Built-in capture produces base64.

Value string

Body bytes represented with the named encoding; for base64, this is standard Base64 text.

Properties

Encoding

Name of the text encoding used for Value. Built-in capture produces base64.

public string Encoding { get; init; }

Property Value

string

Value

Body bytes represented with the named encoding; for base64, this is standard Base64 text.

public string Value { get; init; }

Property Value

string