byteArrayBody

fun byteArrayBody(value: ByteArray): HttpRequest.Builder

Sets the body of the HTTP request as a ByteArray.

Return

Returns the HttpRequest.Builder instance.

Parameters

value

The value of the request body.