A set of components for creating multiplatform automatic JSON-RPC connectivity with a backend server.
(js)
CallAgent |
An agent responsible for remote calls. open class CallAgent |
(js)
Credentials |
Username and password credentials. data class Credentials |
(js)
HttpMethod |
enum class HttpMethod |
(js)
JSON |
JSON utility functions object JSON |
(js)
JsonRpcRequest |
data class JsonRpcRequest |
(js)
JsonRpcResponse |
data class JsonRpcResponse |
(js)
KVRemoteAgent |
Client side agent for JSON-RPC remote calls. open class KVRemoteAgent<T : Any> : RemoteAgent |
(js)
KVServiceManager |
Multiplatform service manager. open class KVServiceManager<T : Any> |
(js)
KVServiceMgr |
interface KVServiceMgr<T : Any> |
(js)
LoginService |
Form login dispatcher. class LoginService |
(js)
Object |
JavaScript Object type class Object |
(js)
RemoteAgent |
Interface for client side agent for JSON-RPC remote calls. interface RemoteAgent |
(js)
RemoteData |
data class RemoteData<T> |
(js)
RemoteFilter |
data class RemoteFilter |
(js)
RemoteOption |
data class RemoteOption |
(js)
RemoteSorter |
data class RemoteSorter |
(js)
SecurityMgr |
Form login dispatcher. abstract class SecurityMgr |
(js)
Socket |
A websocket client implementation. class Socket |
(js)
NotEnumTypeException |
class NotEnumTypeException : Exception |
(js)
NotStandardTypeException |
class NotStandardTypeException : Exception |
(js)
SecurityException |
A security exception. class SecurityException : Exception |
(js)
ServiceException |
class ServiceException : Exception |
(js)
SocketClosedException |
Websocket closed exception class. class SocketClosedException : Throwable |
(js)
HTTP_UNAUTHORIZED |
HTTP status unauthorized (401). const val HTTP_UNAUTHORIZED: Int |
(js)
getWebSocketUrl |
Creates a websocket URL from current window.location and given path. fun getWebSocketUrl(url: String): String |
(js)
obj |
Helper function for creating JavaScript objects. fun obj(init: dynamic.() -> Unit): dynamic |