diff --git a/README.md b/README.md index e9302fd..1227649 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ RPC implementation for Nim based on [msgpack4nim](https://github.com/jangko/msgp ### RPC Server ```nimrod -import nimrpc/rpc_server, nimrpc/rpc_type, asyncnet, asyncdispatch, msgpack +import nimrpc/rpc_server, nimrpc/rpc_type, asyncnet, asyncdispatch, msgpack4nim # Define your remote proc # Remote porc must have two params, first is input, second is output (so it's var param). diff --git a/example/example_server.nim b/example/example_server.nim index a97ae83..b910a1c 100644 --- a/example/example_server.nim +++ b/example/example_server.nim @@ -1,4 +1,4 @@ -import nimrpc/rpc_server, nimrpc/rpc_type, asyncnet, asyncdispatch, msgpack +import nimrpc/rpc_server, nimrpc/rpc_type, asyncnet, asyncdispatch, msgpack4nim # Define your remote proc # Remote porc must have two params, first is input, second is output (so it's var param). diff --git a/src/nimrpc/rpc_client.nim b/src/nimrpc/rpc_client.nim index 1452c77..278509a 100644 --- a/src/nimrpc/rpc_client.nim +++ b/src/nimrpc/rpc_client.nim @@ -1,4 +1,4 @@ -import net, asyncdispatch, msgpack, tables +import net, asyncdispatch, msgpack4nim, tables import rpc_type type diff --git a/src/nimrpc/rpc_server.nim b/src/nimrpc/rpc_server.nim index 6836023..dc967ce 100644 --- a/src/nimrpc/rpc_server.nim +++ b/src/nimrpc/rpc_server.nim @@ -1,4 +1,4 @@ -import asyncnet, asyncdispatch, msgpack, tables +import asyncnet, asyncdispatch, msgpack4nim, tables import rpc_type type