okhttp-parent
Toggle table of contents
5.2.0-SNAPSHOT
common
Platform filter
common
Switch theme
Search in API
okhttp-parent
okhttp
/
okhttp3
/
Response
/
Builder
/
addHeader
add
Header
open
fun
addHeader
(
name
:
String
,
value
:
String
)
:
Response.Builder
Adds a header with
name
to
value
. Prefer this method for multiply-valued headers like "Set-Cookie".