setOn

abstract fun setOn(settings: WebSettings?, documentUrl: String)

Sets the client hint header SEC-CH-UA based on a specific URL and the fact that it can be an exception

Parameters

settings

WebSettings where the agent metadata will be set

url

where the client hint will be set