The following functions can be used to set or get custom fields in a DPI message.
Set Custom Fields
|
--- Set custom fields in the DPI message. The key and--- value MUST be strings.void SetCustomField(dpiMessage, key, value) |
Get Custom Fields
|
require 'LOG'--- Get the custom field in the DPI message. The key--- MUST be string. This function returns multiple values--- that should be read as a Lua Table.--- Syntax: local customTable = {GetCustomField(dpiMsg, key)}table<string, string> GetCustomField(dpiMessage, key)
|