Skip to content

AssetResponse

Namespace NetWiv.Runtime · Assembly NetWiv.Core

public sealed record AssetResponse
public AssetResponse(int StatusCode, string ContentType, ReadOnlyMemory<byte> Body, IReadOnlyDictionary<string, string> Headers = null);
public ReadOnlyMemory<byte> Body { get; init; }
public string ContentType { get; init; }
public IReadOnlyDictionary<string, string> Headers { get; init; }
public int StatusCode { get; init; }
public static bool operator ==(AssetResponse left, AssetResponse right);
public static bool operator !=(AssetResponse left, AssetResponse right);