ArtifactContent
Pennington.Artifacts
The bytes and content type for one resolved artifact request.
Properties
Bytesbyte[]- Response body, served in dev and written verbatim by the static build.
ContentTypestring- Full content-type header value (e.g.
application/json; charset=utf-8).
Constructors
ArtifactContent
#public ArtifactContent(byte[] Bytes, string ContentType)
The bytes and content type for one resolved artifact request.
Parameters
Bytesbyte[]- Response body, served in dev and written verbatim by the static build.
ContentTypestring- Full content-type header value (e.g.
application/json; charset=utf-8).
Pennington.Artifacts.ArtifactContent
namespace Pennington.Artifacts;
/// The bytes and content type for one resolved artifact request.
public record ArtifactContent
{
/// The bytes and content type for one resolved artifact request.
public ArtifactContent(byte[] Bytes, string ContentType)
;
/// Response body, served in dev and written verbatim by the static build.
public byte[] Bytes { get; set; }
/// Full content-type header value (e.g. application/json; charset=utf-8).
public string ContentType { get; set; }
}