accept

fun accept(value: String): HttpRequest.Builder

Sets the Accept of the HTTP request.

Return

Returns the HttpRequest.Builder instance.

Parameters

value

The value of the Accept.