android-components / mozilla.components.concept.fetch / Headers / get

get

abstract operator fun get(index: Int): Header (source)

Gets the Header at the specified index.

abstract operator fun get(name: String): String? (source)

Returns the last values corresponding to the specified header field name. Or null if the header does not exist.