header

fun ApiRequestBuilder.header(    key: String,     value: Any?,     mode: EmulationMode? = null)

Sets a header key with value, or update existing one with value.


fun ApiRequestBuilder.header(headers: Headers, mode: EmulationMode? = null)

Adds existing Headers instance to headers.