headerValues method

Iterable<String>? headerValues(
  1. String name
)

Header values

Returns an iterator to the values of the HTTP headers that will be added to the HTTP response with name.

The name is case-insensitive. The name is considered the same, whether it is represented using uppercase or lowercase letters.

Returns null if no headers exist with the name.

Implementation

Iterable<String>? headerValues(String name) =>
    _headers[_headerCanonicalName(name)];