Table of Contents

Property HeadersOnly

Namespace
NATS.Client.JetStream.Models
Assembly
NATS.Client.JetStream.dll

HeadersOnly

Delivers only the headers of messages in the stream and not the bodies. Additionally adds Nats-Msg-Size header to indicate the size of the removed payload

[JsonPropertyName("headers_only")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool HeadersOnly { get; set; }

Property Value

bool