示例#1
0
 /// <summary>
 ///  设置waf防护模式
 /// </summary>
 /// <param name="request">请求参数信息</param>
 /// <returns>请求结果信息</returns>
 public async Task <AntiModeWafResponse> AntiModeWaf(AntiModeWafRequest request)
 {
     return(await new AntiModeWafExecutor().Client(this).Execute <AntiModeWafResponse, AntiModeWafResult, AntiModeWafRequest>(request).ConfigureAwait(false));
 }
示例#2
0
 /// <summary>
 ///  设置waf防护模式
 /// </summary>
 /// <param name="request">请求参数信息</param>
 /// <returns>请求结果信息</returns>
 public AntiModeWafResponse AntiModeWaf(AntiModeWafRequest request)
 {
     return(new AntiModeWafExecutor().Client(this).Execute <AntiModeWafResponse, AntiModeWafResult, AntiModeWafRequest>(request));
 }