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)
--- The custom field values can be accessed by iterating through the table: require 'LOG' for key, value in ipairs(customTable) do EZINFO("Key: ", key) EZINFO("Value: ", value) end |