QCloudWebsiteRoutingRule Class Reference

Inherits from NSObject
Declared in QCloudWebsiteRoutingRule.h
QCloudWebsiteRoutingRule.m

Overview

单条重定向规则配置

  condition

指定重定向发生的条件,前缀匹配重定向和错误码重定向只能指定一个

@property (strong, nonatomic) QCloudWebsiteCondition *condition

Declared In

QCloudWebsiteRoutingRule.h

  redirect

指定满足重定向conditon时重定向的具体替换规则

@property (strong, nonatomic) QCloudWebsiteRedirect *redirect

Declared In

QCloudWebsiteRoutingRule.h