Skip to content

Instantly share code, notes, and snippets.

@ntoskrnl
Last active September 30, 2017 19:59
Show Gist options
  • Save ntoskrnl/e2c20e55e3d0fb83d6db48fe06053e49 to your computer and use it in GitHub Desktop.
Save ntoskrnl/e2c20e55e3d0fb83d6db48fe06053e49 to your computer and use it in GitHub Desktop.
Usage of annotation-based JsonRpcClient
val client: JsonRpcClient = ...
val service = createJsonRpcService(MyService::class, client)
val result = service.myMethod(100, "value", listOf(1, 2, 3, 4))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment