HttpHeaderRule constructor

HttpHeaderRule({
  1. ResourceKindFlag kinds = ResourceKindFlag.none,
  2. UrlMatchFlag flags = UrlMatchFlag.none,
  3. String url = '',
  4. List<HttpHeader> headers = const [],
})

Implementation

HttpHeaderRule({
  this.kinds = ResourceKindFlag.none,
  this.flags = UrlMatchFlag.none,
  this.url = '',
  List<HttpHeader> headers = const [],
}) : headers = List.unmodifiable(headers);