setExtraHTTPHeaders

suspend fun setExtraHTTPHeaders(args: Network.SetExtraHTTPHeadersParameter, mode: CommandMode = CommandMode.DEFAULT)

Specifies whether to always send extra HTTP headers with the requests from this page.


suspend fun setExtraHTTPHeaders(headers: Map<String, JsonElement>)

Specifies whether to always send extra HTTP headers with the requests from this page.

Parameters

headers

Map with extra HTTP headers.