aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-remote/src
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-10-22 23:18:59 +0200
committerRobert Jaros <rjaros@finn.pl>2019-10-22 23:18:59 +0200
commit69958b1a08f46aecd6ceda54780f362019150052 (patch)
treef42d65c65b832a9aef1a7e2e40f8bf8ac6e7224d /kvision-modules/kvision-remote/src
parent5f109a1e92cd02df8b5588743ed141bc93542817 (diff)
downloadkvision-69958b1a08f46aecd6ceda54780f362019150052.tar.gz
kvision-69958b1a08f46aecd6ceda54780f362019150052.tar.bz2
kvision-69958b1a08f46aecd6ceda54780f362019150052.zip
Send additional state with SelectRemote request.
Diffstat (limited to 'kvision-modules/kvision-remote/src')
-rw-r--r--kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt
index 829ccbd6..dd54a979 100644
--- a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt
+++ b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt
@@ -133,7 +133,7 @@ actual open class KVServiceManager<T : Any> actual constructor(serviceClass: KCl
* @param function a function of the receiver
*/
protected actual fun bind(
- function: T.(String?, String?) -> List<RemoteOption>
+ function: T.(String?, String?, String?) -> List<RemoteOption>
) {
val routeDef = "route${this::class.simpleName}${counter++}"
calls[function.toString().replace("\\s".toRegex(), "")] = Pair("/kv/$routeDef", HttpMethod.POST)