responseHeaders property

List<HeaderInfo>? get responseHeaders

Rule matches if the request matches any response header in this list (if specified). TODO(crbug,com/1141166): Add documentation once feature is complete.

Implementation

List<HeaderInfo>? get responseHeaders => _wrapped.responseHeaders?.toDart
    .cast<$js.HeaderInfo>()
    .map((e) => HeaderInfo.fromJS(e))
    .toList();
set responseHeaders (List<HeaderInfo>? v)

Implementation

set responseHeaders(List<HeaderInfo>? v) {
  _wrapped.responseHeaders = v?.toJSArray((e) => e.toJS);
}