kvision / pl.treksoft.kvision.electron / Protocol / registerHttpProtocol

registerHttpProtocol

abstract fun registerHttpProtocol(scheme: String, handler: (request: RegisterHttpProtocolRequest, callback: (redirectRequest: RedirectRequest) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit