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