Exemplo n.º 1
0
 /// <summary>
 ///  设置waf自定义规则
 /// </summary>
 /// <param name="request">请求参数信息</param>
 /// <returns>请求结果信息</returns>
 public async Task <SetWafRuleResponse> SetWafRule(SetWafRuleRequest request)
 {
     return(await new SetWafRuleExecutor().Client(this).Execute <SetWafRuleResponse, SetWafRuleResult, SetWafRuleRequest>(request).ConfigureAwait(false));
 }
Exemplo n.º 2
0
 /// <summary>
 ///  设置waf自定义规则
 /// </summary>
 /// <param name="request">请求参数信息</param>
 /// <returns>请求结果信息</returns>
 public SetWafRuleResponse SetWafRule(SetWafRuleRequest request)
 {
     return(new SetWafRuleExecutor().Client(this).Execute <SetWafRuleResponse, SetWafRuleResult, SetWafRuleRequest>(request));
 }