vncore / com.venuenext.vncore.http / HttpClient / setRequestHeaders

setRequestHeaders

open fun setRequestHeaders(connection: HttpURLConnection, request: HttpRequest): Unit

Sets request headers in URL connection.

Parameters

connection - the HTTP URL connection object.

request - the HTTP request object.