Interface IProtoBinaryContent
A named binary payload a test produced - a downloaded report, an exported document. Integrations that consume files accept this instead of a response type, so REST, GraphQL or an attachment can feed them without any of them knowing about each other.
public interface IProtoBinaryContent
- Extension Methods
Properties
Content
The bytes themselves.
ReadOnlyMemory<byte> Content { get; }
Property Value
FileName
The file name, when the producer knows it (for example a Content-Disposition name).
string? FileName { get; }
Property Value
MediaType
The media type, when the producer knows it.
string? MediaType { get; }