setCustomHeaders

abstract suspend fun setCustomHeaders(headers: List<GatewayHttpHeader>, updateProgress: suspend (progress: Progress) -> Unit = {})

Set custom headers in the gateway

Parameters

headers

list of custom headers to be set. It cannot be empty and all headers must be valid. After this operation the gateway will restart.

updateProgress

of the operation