requestHeaders property
List<ModifyHeaderInfo> ?
get
requestHeaders
The request headers to modify for the request. Only valid if RuleActionType is "modifyHeaders".
Implementation
List<ModifyHeaderInfo>? get requestHeaders => _wrapped.requestHeaders?.toDart
.cast<$js.ModifyHeaderInfo>()
.map((e) => ModifyHeaderInfo.fromJS(e))
.toList();
set
requestHeaders
(List<ModifyHeaderInfo> ? v)
Implementation
set requestHeaders(List<ModifyHeaderInfo>? v) {
_wrapped.requestHeaders = v?.toJSArray((e) => e.toJS);
}