shouldExecuteDirective

abstract fun shouldExecuteDirective(payload: String, header: Header): TextAgentInterface.TextRedirectHandler.Result

Return

Result.OK if should execute, otherwise if not.

Parameters

payload

the payload of directive

header

the header of directive