headers

abstract fun headers(newHeaders: Map<String, String>): RequestBuilder<Req, Res>

Append the given header map to the list of headers.

Return

this instance, so the builder can be used fluently.

Parameters

newHeaders

headers to send together with the request.