NATS C Client with JetStream and Streaming support
3.9.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
#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... | |
JetStream context options.
Initialize the object with jsOptions_Init.
const char* jsOptions::Prefix |
const char* jsOptions::Domain |
int64_t jsOptions::Wait |
struct jsOptions::jsOptionsPublishAsync jsOptions::PublishAsync |
struct jsOptions::jsOptionsPullSubscribeAsync jsOptions::PullSubscribeAsync |
struct jsOptions::jsOptionsStream jsOptions::Stream |