setHeader

fun setHeader(name: String, value: Double)(source)
fun setHeader(name: String, value: String)(source)

Sets a single header value. If the header already exists in the to-be-sent headers, its value will be replaced. Use an array of strings to send multiple headers with the same name.

Since

v0.4.0

Parameters

name

Header name

value

Header value