CallAgent

open class CallAgent

An agent responsible for remote calls.

Constructors

CallAgent
Link copied to clipboard
js
fun CallAgent()

Functions

equals
Link copied to clipboard
js
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
js
open fun hashCode(): Int
jsonRpcCall
Link copied to clipboard
js
fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: HttpMethod = HttpMethod.POST, beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean? = null): Promise<String>
Makes an JSON-RPC call to the remote server.
remoteCall
Link copied to clipboard
js
fun remoteCall(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean? = null): Promise<dynamic>
Makes a remote call to the remote server.
toString
Link copied to clipboard
js
open fun toString(): String