setHeader

abstract fun setHeader(name: String, value: String): Request.Builder

Sets the header specified by name to value. If this request already has any headers with that name, they are all replaced.

Since

200.4.0