/
Token Configuration
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 |
Related content
Token Replacement
Token Replacement
More like this
Get Token Value
Get Token Value
More like this
Query String Configuration
Query String Configuration
More like this
Hook Configuration
Hook Configuration
More like this
HTTPs_RespBodySetParamStaticData
HTTPs_RespBodySetParamStaticData
More like this
HTTP Header Configuration
HTTP Header Configuration
More like this