Interface JetStreamManagerOptions

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

interface JetStreamManagerOptions {
    apiPrefix?: string;
    checkAPI?: boolean;
    domain?: string;
    timeout?: number;
}

Hierarchy (view full)

Properties

apiPrefix?: string

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

checkAPI?: boolean

Allows disabling a check on the account for JetStream enablement see ().

domain?: string

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

timeout?: number

Number of milliseconds to wait for a JetStream API request.

Default

ConnectionOptions.timeout

See

ConnectionOptions.timeout