(js)
|
abstract fun interceptBufferProtocol(scheme: String, handler: (request: InterceptBufferProtocolRequest, callback: (buffer: Buffer?) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit |
(js)
|
abstract fun interceptFileProtocol(scheme: String, handler: (request: InterceptFileProtocolRequest, callback: (filePath: String) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit |
(js)
|
abstract fun interceptHttpProtocol(scheme: String, handler: (request: InterceptHttpProtocolRequest, callback: (redirectRequest: RedirectRequest) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit |
(js)
|
abstract fun interceptStreamProtocol(scheme: String, handler: (request: InterceptStreamProtocolRequest, callback: (dynamic) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit |
(js)
|
abstract fun interceptStringProtocol(scheme: String, handler: (request: InterceptStringProtocolRequest, callback: (data: String?) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit |
(js)
|
abstract fun isProtocolHandled(scheme: String, callback: (error: Error) -> Unit): Unit |
(js)
|
abstract fun registerBufferProtocol(scheme: String, handler: (request: RegisterBufferProtocolRequest, callback: (dynamic) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit |
(js)
|
abstract fun registerFileProtocol(scheme: String, handler: (request: RegisterFileProtocolRequest, callback: (filePath: String?) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit |
(js)
|
abstract fun registerHttpProtocol(scheme: String, handler: (request: RegisterHttpProtocolRequest, callback: (redirectRequest: RedirectRequest) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit |
(js)
|
abstract fun registerServiceWorkerSchemes(schemes: Array<String>): Unit |
(js)
|
abstract fun registerStandardSchemes(schemes: Array<String>, options: RegisterStandardSchemesOptions? = definedExternally): Unit |
(js)
|
abstract fun registerStreamProtocol(scheme: String, handler: (request: RegisterStreamProtocolRequest, callback: (dynamic) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit |
(js)
|
abstract fun registerStringProtocol(scheme: String, handler: (request: RegisterStringProtocolRequest, callback: (data: String?) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit |
(js)
|
abstract fun uninterceptProtocol(scheme: String, completion: ((error: Error) -> Unit)? = definedExternally): Unit |
(js)
|
abstract fun unregisterProtocol(scheme: String, completion: ((error: Error) -> Unit)? = definedExternally): Unit |