get method
The get() method of the Headers interface
returns a byte string of all the values of a header within a Headers
object
with a given name. If the requested header doesn't exist in the Headers
object, it returns null.
For security reasons, some headers can only be controlled by the user agent. These headers include the and .
Implementation
external String? get(String name);