android-components / mozilla.components.concept.fetch / Header

Header

data class Header (source)

Represents a Header containing of a name and value.

Constructors

Name Summary
<init> Header(name: String, value: String)
Represents a Header containing of a name and value.

Properties

Name Summary
name val name: String
value val value: String

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.