kvision / pl.treksoft.kvision.electron / WebRequest / onBeforeRequest

onBeforeRequest

(js) open fun onBeforeRequest(listener: (details: OnBeforeRequestDetails, callback: (response: Response) -> Unit) -> Unit): Unit
open fun onBeforeRequest(filter: OnBeforeRequestFilter, listener: (details: OnBeforeRequestDetails, callback: (response: Response) -> Unit) -> Unit): Unit