open external class Cookies : EventEmitter
Cookies() |
open fun addListener(event: String, listener: (event: Event, cookie: Cookie, dynamic, removed: Boolean) -> Unit): Cookies |
|
open fun flushStore(callback: Function<*>): Unit |
|
open fun get(filter: Filter, callback: (Error, cookies: Array<Cookie>) -> Unit): Unit |
|
open fun on(event: String, listener: (event: Event, cookie: Cookie, dynamic, removed: Boolean) -> Unit): Cookies |
|
open fun once(event: String, listener: (event: Event, cookie: Cookie, dynamic, removed: Boolean) -> Unit): Cookies |
|
open fun remove(url: String, name: String, callback: Function<*>): Unit |
|
open fun removeListener(event: String, listener: (event: Event, cookie: Cookie, dynamic, removed: Boolean) -> Unit): Cookies |
|
open fun set(details: Details, callback: (Error) -> Unit): Unit |
open fun addListener(event: String, listener: Function<*>): EventEmitter |
|
open fun emit(event: String, vararg args: Any): Boolean |
|
open fun eventNames(): Array<String> |
|
open fun getMaxListeners(): Number |
|
open fun listenerCount(type: String): Number |
|
open fun listeners(event: String): Array<Function<*>> |
|
open fun on(event: String, listener: Function<*>): EventEmitter |
|
open fun once(event: String, listener: Function<*>): EventEmitter |
|
open fun prependListener(event: String, listener: Function<*>): EventEmitter |
|
open fun prependOnceListener(event: String, listener: Function<*>): EventEmitter |
|
open fun removeAllListeners(event: String? = definedExternally): EventEmitter |
|
open fun removeListener(event: String, listener: Function<*>): EventEmitter |
|
open fun setMaxListeners(n: Number): EventEmitter |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |