fix example in readme

This commit is contained in:
David Krause 2018-08-11 14:07:44 +02:00 committed by GitHub
parent 642fdd591f
commit d9678bab25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ The `call` procedure takes care of the basic format of the JSON to send to the s
However you still need to provide `params` as a `JsonNode`, which must exactly match the parameters defined in the equivalent `rpc` definition.
```nim
import json_rpc/[rpcclient, rpcserver], asyncdispatch, json
import json_rpc/[rpcclient, rpcserver], asyncdispatch2, json
var
server = newRpcSocketServer("localhost", Port(8545))