vncore / com.venuenext.vncore.http / HttpRequest / addHeader

addHeader

fun addHeader(key: String, value: String?): Unit

Adds a new request header.

Parameters

key - the header key.

value - the header value.