Token Configuration
To enable the Dynamic Token Replacement feature, the compile-time configuration HTTPs_CFG_TOEKN_EN
must be set accordingly (See section Module Configuration).
Also a configuration object (HTTPs_TOKEN_CFG
) MUST be added to the HTTP Instance configuration (See section Parameters Configuration).
For more information on HTTP Dynamic Token Replacement, see section Dynamic Content.
Token Configuration Structure
const HTTPs_TOKEN_CFG HTTPs_TokenCfg = { 15, /* .NbrPerConnMax */ 20 /* .ValLenMax */ };
Fields Description
Structure Field | Type | Description | Possible Values |
---|---|---|---|
NbrPerConnMax | CPU_INT16U | Maximum number of tokens accepted for each HTTP transaction. | SHOULD be >= 1 |
ValLenMax | CPU_INT16U | Maximum length of the token replacement value accepted by the HTTP server. | SHOULD be >= 1 |