kvision / pl.treksoft.kvision.electron / Protocol / interceptStreamProtocol

interceptStreamProtocol

(js) abstract fun interceptStreamProtocol(scheme: String, handler: (request: InterceptStreamProtocolRequest, callback: (dynamic) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit