NATS C Client with Streaming support  2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
Types

Typedefs

typedef struct __natsConnection natsConnection
 A connection to a NATS Server. More...
 
typedef struct __natsStatistics natsStatistics
 Statistics of a natsConnection. More...
 
typedef struct __natsSubscription natsSubscription
 Interest on a given subject. More...
 
typedef struct __natsMsg natsMsg
 A structure holding a subject, optional reply and payload. More...
 
typedef struct __natsOptions natsOptions
 Way to configure a natsConnection. More...
 
typedef char natsInbox
 Unique subject often used for point-to-point communication. More...
 
typedef struct __stanConnection stanConnection
 A connection to a NATS Streaming Server. More...
 
typedef struct __stanSubscription stanSubscription
 Interest on a given channel. More...
 
typedef struct __stanMsg stanMsg
 The Streaming message. More...
 
typedef struct __stanConnOptions stanConnOptions
 Way to configure a stanConnection. More...
 
typedef struct __stanSubOptions stanSubOptions
 Way to configure a stanSubscription. More...
 

Detailed Description

NATS Types.

Typedef Documentation

typedef struct __natsConnection natsConnection

A natsConnection represents a bare connection to a NATS Server. It will send and receive byte array payloads.

typedef struct __natsStatistics natsStatistics

Tracks various statistics received and sent on a connection, including counts for messages and bytes.

typedef struct __natsSubscription natsSubscription

A natsSubscription represents interest in a given subject.

typedef struct __natsMsg natsMsg

natsMsg is a structure used by Subscribers and natsConnection_PublishMsg().

typedef struct __natsOptions natsOptions

Options can be used to create a customized natsConnection.

typedef char natsInbox

This can be used as the reply for a request. Inboxes are meant to be unique so that replies can be sent to a specific subscriber. That being said, inboxes can be shared across multiple subscribers if desired.

typedef struct __stanConnection stanConnection

A stanConnection represents a connection to a NATS Streaming Server.

typedef struct __stanSubscription stanSubscription

A stanSubscription represents interest in a given channel.

typedef struct __stanMsg stanMsg

stanMsg is the object passed to the subscriptions' message callbacks.

typedef struct __stanConnOptions stanConnOptions

Options can be used to create a customized stanConnection.

typedef struct __stanSubOptions stanSubOptions

Options can be used to create a customized stanSubscription.