From eeb8fdf8f890daeed907a6d0591ea6fae8421860 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 6 Mar 2019 13:53:58 +0100 Subject: API documentation for KVision 0.0.28 --- .../-web-request/-init-.html | 14 ++ .../-web-request/index.html | 204 +++++++++++++++++++++ .../-web-request/on-before-redirect.html | 16 ++ .../-web-request/on-before-request.html | 16 ++ .../-web-request/on-before-send-headers.html | 16 ++ .../-web-request/on-completed.html | 16 ++ .../-web-request/on-error-occurred.html | 16 ++ .../-web-request/on-headers-received.html | 16 ++ .../-web-request/on-response-started.html | 16 ++ .../-web-request/on-send-headers.html | 16 ++ 10 files changed, 346 insertions(+) create mode 100644 api/pl.treksoft.kvision.electron/-web-request/-init-.html create mode 100644 api/pl.treksoft.kvision.electron/-web-request/index.html create mode 100644 api/pl.treksoft.kvision.electron/-web-request/on-before-redirect.html create mode 100644 api/pl.treksoft.kvision.electron/-web-request/on-before-request.html create mode 100644 api/pl.treksoft.kvision.electron/-web-request/on-before-send-headers.html create mode 100644 api/pl.treksoft.kvision.electron/-web-request/on-completed.html create mode 100644 api/pl.treksoft.kvision.electron/-web-request/on-error-occurred.html create mode 100644 api/pl.treksoft.kvision.electron/-web-request/on-headers-received.html create mode 100644 api/pl.treksoft.kvision.electron/-web-request/on-response-started.html create mode 100644 api/pl.treksoft.kvision.electron/-web-request/on-send-headers.html (limited to 'api/pl.treksoft.kvision.electron/-web-request') diff --git a/api/pl.treksoft.kvision.electron/-web-request/-init-.html b/api/pl.treksoft.kvision.electron/-web-request/-init-.html new file mode 100644 index 00000000..b1d3bdd2 --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-web-request/-init-.html @@ -0,0 +1,14 @@ + + + +WebRequest.<init> - kvision + + + +kvision / pl.treksoft.kvision.electron / WebRequest / <init>
+
+

<init>

+ +WebRequest() + + diff --git a/api/pl.treksoft.kvision.electron/-web-request/index.html b/api/pl.treksoft.kvision.electron/-web-request/index.html new file mode 100644 index 00000000..1c0fc8a0 --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-web-request/index.html @@ -0,0 +1,204 @@ + + + +WebRequest - kvision + + + +kvision / pl.treksoft.kvision.electron / WebRequest
+
+

WebRequest

+open external class WebRequest : EventEmitter +

Constructors

+ + + + + + + +
+

<init>

+
+WebRequest()
+

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

onBeforeRedirect

+
+open fun onBeforeRedirect(listener: (details: OnBeforeRedirectDetails) -> Unit): Unit
+open fun onBeforeRedirect(filter: OnBeforeRedirectFilter, listener: (details: OnBeforeRedirectDetails) -> Unit): Unit
+

onBeforeRequest

+
+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
+

onBeforeSendHeaders

+
+open fun onBeforeSendHeaders(filter: OnBeforeSendHeadersFilter, listener: Function<*>): Unit
+open fun onBeforeSendHeaders(listener: Function<*>): Unit
+

onCompleted

+
+open fun onCompleted(filter: OnCompletedFilter, listener: (details: OnCompletedDetails) -> Unit): Unit
+open fun onCompleted(listener: (details: OnCompletedDetails) -> Unit): Unit
+

onErrorOccurred

+
+open fun onErrorOccurred(listener: (details: OnErrorOccurredDetails) -> Unit): Unit
+open fun onErrorOccurred(filter: OnErrorOccurredFilter, listener: (details: OnErrorOccurredDetails) -> Unit): Unit
+

onHeadersReceived

+
+open fun onHeadersReceived(filter: OnHeadersReceivedFilter, listener: Function<*>): Unit
+open fun onHeadersReceived(listener: Function<*>): Unit
+

onResponseStarted

+
+open fun onResponseStarted(listener: (details: OnResponseStartedDetails) -> Unit): Unit
+open fun onResponseStarted(filter: OnResponseStartedFilter, listener: (details: OnResponseStartedDetails) -> Unit): Unit
+

onSendHeaders

+
+open fun onSendHeaders(filter: OnSendHeadersFilter, listener: (details: OnSendHeadersDetails) -> Unit): Unit
+open fun onSendHeaders(listener: (details: OnSendHeadersDetails) -> Unit): Unit
+

Inherited Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

addListener

+
+open fun addListener(event: String, listener: Function<*>): EventEmitter
+

emit

+
+open fun emit(event: String, vararg args: Any): Boolean
+

eventNames

+
+open fun eventNames(): Array<String>
+

getMaxListeners

+
+open fun getMaxListeners(): Number
+

listenerCount

+
+open fun listenerCount(type: String): Number
+

listeners

+
+open fun listeners(event: String): Array<Function<*>>
+

on

+
+open fun on(event: String, listener: Function<*>): EventEmitter
+

once

+
+open fun once(event: String, listener: Function<*>): EventEmitter
+

prependListener

+
+open fun prependListener(event: String, listener: Function<*>): EventEmitter
+

prependOnceListener

+
+open fun prependOnceListener(event: String, listener: Function<*>): EventEmitter
+

removeAllListeners

+
+open fun removeAllListeners(event: String? = definedExternally): EventEmitter
+

removeListener

+
+open fun removeListener(event: String, listener: Function<*>): EventEmitter
+

setMaxListeners

+
+open fun setMaxListeners(n: Number): EventEmitter
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.electron/-web-request/on-before-redirect.html b/api/pl.treksoft.kvision.electron/-web-request/on-before-redirect.html new file mode 100644 index 00000000..a69a5208 --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-web-request/on-before-redirect.html @@ -0,0 +1,16 @@ + + + +WebRequest.onBeforeRedirect - kvision + + + +kvision / pl.treksoft.kvision.electron / WebRequest / onBeforeRedirect
+
+

onBeforeRedirect

+ +open fun onBeforeRedirect(listener: (details: OnBeforeRedirectDetails) -> Unit): Unit
+ +open fun onBeforeRedirect(filter: OnBeforeRedirectFilter, listener: (details: OnBeforeRedirectDetails) -> Unit): Unit + + diff --git a/api/pl.treksoft.kvision.electron/-web-request/on-before-request.html b/api/pl.treksoft.kvision.electron/-web-request/on-before-request.html new file mode 100644 index 00000000..6f321d65 --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-web-request/on-before-request.html @@ -0,0 +1,16 @@ + + + +WebRequest.onBeforeRequest - kvision + + + +kvision / pl.treksoft.kvision.electron / WebRequest / onBeforeRequest
+
+

onBeforeRequest

+ +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 + + diff --git a/api/pl.treksoft.kvision.electron/-web-request/on-before-send-headers.html b/api/pl.treksoft.kvision.electron/-web-request/on-before-send-headers.html new file mode 100644 index 00000000..551f5ddf --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-web-request/on-before-send-headers.html @@ -0,0 +1,16 @@ + + + +WebRequest.onBeforeSendHeaders - kvision + + + +kvision / pl.treksoft.kvision.electron / WebRequest / onBeforeSendHeaders
+
+

onBeforeSendHeaders

+ +open fun onBeforeSendHeaders(filter: OnBeforeSendHeadersFilter, listener: Function<*>): Unit
+ +open fun onBeforeSendHeaders(listener: Function<*>): Unit + + diff --git a/api/pl.treksoft.kvision.electron/-web-request/on-completed.html b/api/pl.treksoft.kvision.electron/-web-request/on-completed.html new file mode 100644 index 00000000..cd7d2d54 --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-web-request/on-completed.html @@ -0,0 +1,16 @@ + + + +WebRequest.onCompleted - kvision + + + +kvision / pl.treksoft.kvision.electron / WebRequest / onCompleted
+
+

onCompleted

+ +open fun onCompleted(filter: OnCompletedFilter, listener: (details: OnCompletedDetails) -> Unit): Unit
+ +open fun onCompleted(listener: (details: OnCompletedDetails) -> Unit): Unit + + diff --git a/api/pl.treksoft.kvision.electron/-web-request/on-error-occurred.html b/api/pl.treksoft.kvision.electron/-web-request/on-error-occurred.html new file mode 100644 index 00000000..17488426 --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-web-request/on-error-occurred.html @@ -0,0 +1,16 @@ + + + +WebRequest.onErrorOccurred - kvision + + + +kvision / pl.treksoft.kvision.electron / WebRequest / onErrorOccurred
+
+

onErrorOccurred

+ +open fun onErrorOccurred(listener: (details: OnErrorOccurredDetails) -> Unit): Unit
+ +open fun onErrorOccurred(filter: OnErrorOccurredFilter, listener: (details: OnErrorOccurredDetails) -> Unit): Unit + + diff --git a/api/pl.treksoft.kvision.electron/-web-request/on-headers-received.html b/api/pl.treksoft.kvision.electron/-web-request/on-headers-received.html new file mode 100644 index 00000000..96aea8de --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-web-request/on-headers-received.html @@ -0,0 +1,16 @@ + + + +WebRequest.onHeadersReceived - kvision + + + +kvision / pl.treksoft.kvision.electron / WebRequest / onHeadersReceived
+
+

onHeadersReceived

+ +open fun onHeadersReceived(filter: OnHeadersReceivedFilter, listener: Function<*>): Unit
+ +open fun onHeadersReceived(listener: Function<*>): Unit + + diff --git a/api/pl.treksoft.kvision.electron/-web-request/on-response-started.html b/api/pl.treksoft.kvision.electron/-web-request/on-response-started.html new file mode 100644 index 00000000..3c2c5b40 --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-web-request/on-response-started.html @@ -0,0 +1,16 @@ + + + +WebRequest.onResponseStarted - kvision + + + +kvision / pl.treksoft.kvision.electron / WebRequest / onResponseStarted
+
+

onResponseStarted

+ +open fun onResponseStarted(listener: (details: OnResponseStartedDetails) -> Unit): Unit
+ +open fun onResponseStarted(filter: OnResponseStartedFilter, listener: (details: OnResponseStartedDetails) -> Unit): Unit + + diff --git a/api/pl.treksoft.kvision.electron/-web-request/on-send-headers.html b/api/pl.treksoft.kvision.electron/-web-request/on-send-headers.html new file mode 100644 index 00000000..6b6d7dfd --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-web-request/on-send-headers.html @@ -0,0 +1,16 @@ + + + +WebRequest.onSendHeaders - kvision + + + +kvision / pl.treksoft.kvision.electron / WebRequest / onSendHeaders
+
+

onSendHeaders

+ +open fun onSendHeaders(filter: OnSendHeadersFilter, listener: (details: OnSendHeadersDetails) -> Unit): Unit
+ +open fun onSendHeaders(listener: (details: OnSendHeadersDetails) -> Unit): Unit + + -- cgit