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

Macros

#define MICRO_API_PREFIX   "$SRV"
 The prefix for all microservice monitoring subjects. More...
 
#define MICRO_INFO_RESPONSE_TYPE   "io.nats.micro.v1.info_response"
 The type set in the $SRV.INFO responses. More...
 
#define MICRO_INFO_VERB   "INFO"
 For $SRV.INFO.* subjects. More...
 
#define MICRO_PING_RESPONSE_TYPE   "io.nats.micro.v1.ping_response"
 The type set in the $SRV.PING response. More...
 
#define MICRO_PING_VERB   "PING"
 For $SRV.PING subjects. More...
 
#define MICRO_STATS_RESPONSE_TYPE   "io.nats.micro.v1.stats_response"
 The type set in the STATS response. More...
 
#define MICRO_STATS_VERB   "STATS"
 The "verb" used in $SRV.STATS subjects. More...
 
#define MICRO_STATUS_HDR   "Nats-Status"
 The response message header used to communicate an erroneous NATS status back to the requestor. More...
 
#define MICRO_ERROR_HDR   "Nats-Service-Error"
 The response message header used to communicate an error message back to the requestor. More...
 
#define MICRO_ERROR_CODE_HDR   "Nats-Service-Error-Code"
 The response message header used to communicate an integer error code back to the requestor. More...
 

Detailed Description

Microservice public constants.

Macro Definition Documentation

◆ MICRO_API_PREFIX

#define MICRO_API_PREFIX   "$SRV"

For example, "$SRV.PING".

◆ MICRO_INFO_RESPONSE_TYPE

#define MICRO_INFO_RESPONSE_TYPE   "io.nats.micro.v1.info_response"

◆ MICRO_INFO_VERB

#define MICRO_INFO_VERB   "INFO"

◆ MICRO_PING_RESPONSE_TYPE

#define MICRO_PING_RESPONSE_TYPE   "io.nats.micro.v1.ping_response"

◆ MICRO_PING_VERB

#define MICRO_PING_VERB   "PING"

◆ MICRO_STATS_RESPONSE_TYPE

#define MICRO_STATS_RESPONSE_TYPE   "io.nats.micro.v1.stats_response"

◆ MICRO_STATS_VERB

#define MICRO_STATS_VERB   "STATS"

◆ MICRO_STATUS_HDR

#define MICRO_STATUS_HDR   "Nats-Status"

◆ MICRO_ERROR_HDR

#define MICRO_ERROR_HDR   "Nats-Service-Error"

◆ MICRO_ERROR_CODE_HDR

#define MICRO_ERROR_CODE_HDR   "Nats-Service-Error-Code"