NATS C Client with JetStream and Streaming support  3.9.1
The nats.io C Client, Supported by Synadia Communications Inc.
jsOptions Struct Reference

#include <nats.h>

Classes

struct  jsOptionsPublishAsync
 
struct  jsOptionsPullSubscribeAsync
 
struct  jsOptionsStream
 

Public Attributes

const char * Prefix
 JetStream prefix, default is "$JS.API". More...
 
const char * Domain
 Domain changes the domain part of JetSteam API prefix. More...
 
int64_t Wait
 Amount of time (in milliseconds) to wait for various JetStream API requests, default is 5000 ms (5 seconds). More...
 
struct jsOptions::jsOptionsPublishAsync PublishAsync
 extra options for js_PublishAsync More...
 
struct jsOptions::jsOptionsPullSubscribeAsync PullSubscribeAsync
 extra options for js_PullSubscribeAsync More...
 
struct jsOptions::jsOptionsStream Stream
 Optional stream options. More...
 

Detailed Description

JetStream context options.

Initialize the object with jsOptions_Init.

Member Data Documentation

◆ Prefix

const char* jsOptions::Prefix

◆ Domain

const char* jsOptions::Domain

◆ Wait

int64_t jsOptions::Wait

◆ PublishAsync

struct jsOptions::jsOptionsPublishAsync jsOptions::PublishAsync

◆ PullSubscribeAsync

struct jsOptions::jsOptionsPullSubscribeAsync jsOptions::PullSubscribeAsync

◆ Stream

struct jsOptions::jsOptionsStream jsOptions::Stream

The documentation for this struct was generated from the following file: