NATS C Client with JetStream and Streaming support
3.10.0
The nats.io C Client, Supported by Synadia Communications Inc.
|
#include <nats.h>
Public Attributes | |
const char * | Prefix |
JetStream prefix, default is "$JS.API". | |
const char * | Domain |
Domain changes the domain part of JetSteam API prefix. | |
int64_t | Wait |
Amount of time (in milliseconds) to wait for various JetStream API requests, default is 5000 ms (5 seconds). | |
jsOptionsPublishAsync | PublishAsync |
extra options for js_PublishAsync | |
jsOptionsPullSubscribeAsync | PullSubscribeAsync |
extra options for js_PullSubscribeAsync | |
jsOptionsStream | Stream |
Optional stream options. | |
JetStream context options.
Initialize the object with jsOptions_Init.
const char* jsOptions::Prefix |
const char* jsOptions::Domain |
int64_t jsOptions::Wait |
jsOptionsPublishAsync jsOptions::PublishAsync |
jsOptionsPullSubscribeAsync jsOptions::PullSubscribeAsync |
jsOptionsStream jsOptions::Stream |