kvision / pl.treksoft.kvision.electron / Protocol / interceptFileProtocol

interceptFileProtocol

abstract fun interceptFileProtocol(scheme: String, handler: (request: InterceptFileProtocolRequest, callback: (filePath: String) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit