HttpHeadersValues extension

Adds and removes the values of headers given as maps, as the default headers of AngelHttp and AngelHttp2 take them.

on

Methods

addValues(Map<String, Object?> headers) → void

Available on HttpHeaders, provided by the HttpHeadersValues extension

Adds each value of each header: each value of a list, skipping a null.
removeValues(Map<String, Object?> headers) → void

Available on HttpHeaders, provided by the HttpHeadersValues extension

Removes the given values of each header: each value of a list, with headerMatches. A null value removes the header, whatever its values.