From ea23ddd8dd11e9645b1dd061f373c3a0bade78f0 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 13 Feb 2019 15:08:42 +0100 Subject: Minor declaration fixes. --- .../src/main/kotlin/pl/treksoft/kvision/remote/CallAgent.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kvision-modules/kvision-remote/src/main/kotlin') diff --git a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/CallAgent.kt b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/CallAgent.kt index ea3199cf..53e612c6 100644 --- a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/CallAgent.kt +++ b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/CallAgent.kt @@ -153,7 +153,7 @@ open class CallAgent { * @param transform a function to transform the result of the call * @return a promise of the result */ - fun remoteCall( + fun remoteCall( url: String, data: dynamic = null, deserializer: DeserializationStrategy, @@ -182,7 +182,7 @@ open class CallAgent { * @param beforeSend a content type of the request * @return a promise of the result */ - fun remoteCall( + fun remoteCall( url: String, serializer: SerializationStrategy, data: V, @@ -206,7 +206,7 @@ open class CallAgent { * @param transform a function to transform the result of the call * @return a promise of the result */ - fun remoteCall( + fun remoteCall( url: String, serializer: SerializationStrategy, data: V, -- cgit