getHeaderByName

abstract fun getHeaderByName(name: String): String

Get the value for the specified response header field. Use getHeaderMap instead if there might be multiple values.

Return

The header value.

Parameters

name

The header name.