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... | |
Microservice public constants.
#define MICRO_API_PREFIX "$SRV" |
For example, "$SRV.PING"
.
#define MICRO_INFO_RESPONSE_TYPE "io.nats.micro.v1.info_response" |
#define MICRO_INFO_VERB "INFO" |
#define MICRO_PING_RESPONSE_TYPE "io.nats.micro.v1.ping_response" |
#define MICRO_PING_VERB "PING" |
#define MICRO_STATS_RESPONSE_TYPE "io.nats.micro.v1.stats_response" |
#define MICRO_STATS_VERB "STATS" |
#define MICRO_STATUS_HDR "Nats-Status" |
#define MICRO_ERROR_HDR "Nats-Service-Error" |
#define MICRO_ERROR_CODE_HDR "Nats-Service-Error-Code" |