body

fun body(bodySource: BufferedSource): HttpResponse.Builder

A streamable body.


fun body(bodyString: ByteString): HttpResponse.Builder

An immutable body. Prefer bodySource so that the response can be streamed.