Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
interface JetStreamOptions
Re-export
import { type JetStreamOptions } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";

Options to a JetStream options applied to all JetStream or JetStreamManager requests.

Properties

optional
apiPrefix: string

Prefix required to interact with JetStream. Must match server configuration.

optional
timeout: number

Number of milliseconds to wait for a JetStream API request.

optional
domain: string

Name of the JetStream domain. This value automatically modifies the default JetStream apiPrefix.