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
EncodingstringName of the text encoding used for
Value. Built-in capture producesbase64.ValuestringBody 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
Value
Body bytes represented with the named encoding; for base64, this is standard Base64 text.
public string Value { get; init; }