Skip to content

Instantly share code, notes, and snippets.

@ntoskrnl
Last active September 30, 2017 17:54
Show Gist options
  • Save ntoskrnl/32122b013da02470bff1a64b08f3e00e to your computer and use it in GitHub Desktop.
Save ntoskrnl/32122b013da02470bff1a64b08f3e00e to your computer and use it in GitHub Desktop.
An interface for simple JSON-RPC client
interface JsonRpcClient {
fun <R> call(request: JsonRpcRequest, responseType: Type): Single<R>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment