NATS C Client with JetStream and Streaming support  3.8.0
The nats.io C Client, Supported by Synadia Communications Inc.
Loading...
Searching...
No Matches

Macros

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

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"