onChanged

fun onChanged(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (oldPolicy: HstsPolicy, newPolicy: HstsPolicy) -> Unit): <Error class: unknown class>(source)

Emitted when @hsts_enforcer changes.

If a policy has been added,

Parameters

connectFlags

a combination of ConnectFlags

handler

the Callback to connect. Params: oldPolicy the old #SoupHSTSPolicy value; newPolicy the new #SoupHSTSPolicy value