header

abstract fun header(name: ResponseHeaderName, value: String): B
abstract fun header(name: String, value: String): B

Add the given header.

Parameters

name

the header name

value

the header value