Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
enum RepublishHeaders
import { RepublishHeaders } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";

Members

LastSequence = "Nats-Last-Sequence"

The stream sequence id of the last message ingested to the same original subject (or 0 if none or deleted)

Sequence = "Nats-Sequence"

The sequence of the republished message

Size = "Nats-Msg-Size"

The size in bytes of the message's body - Only if Republish#headers_only is set.

Stream = "Nats-Stream"

The source stream of the message

Subject = "Nats-Subject"

The original subject of the message