value

fun value(name: String): String?

Returns the value of the header with the specified name. If the header has multiple values, only the last value is returned.

Return

The value of the header, or null if the header with given name does not exist.

Parameters

name

The name of the header.