headers

fun headers(headers: Map<String, String>): Request

Sets the given headers to the request, it also overrides the value if the key already exists

Return

The request builder

Parameters

headers

The headers to set


The headers of the request Default: User-Agent, Accept