Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion example/example_server.nim
Original file line number Diff line number Diff line change
@@ -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).
Expand Down
2 changes: 1 addition & 1 deletion src/nimrpc/rpc_client.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import net, asyncdispatch, msgpack, tables
import net, asyncdispatch, msgpack4nim, tables
import rpc_type

type
Expand Down
2 changes: 1 addition & 1 deletion src/nimrpc/rpc_server.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import asyncnet, asyncdispatch, msgpack, tables
import asyncnet, asyncdispatch, msgpack4nim, tables
import rpc_type

type
Expand Down