Skip to content

Context

req_context_value_in(key, value_list, case_insensitive)

  • Description: Judge if value of context key matches configured patterns

  • Parameters

Parameter Description
key String
context key
value_list String
a list of query values which are concatenated using |
case_insensitive Boolean
case insensitive
  • Example
req_context_value_in("cmd", "add|del|list", true)