Commit Graph

26 Commits

Author SHA1 Message Date
Zahary Karadjov 642fdd591f fix the package structure to make Nimble happy 2018-07-20 19:34:10 +03:00
andri lim 4aedb214b6 fixes #18, rpc macro now can accept multiple variables of one type 2018-07-17 10:06:29 +07:00
coffeepots e3a7ffd121 Merge rpcsocket into rpcserver 2018-07-12 09:43:44 +01:00
coffeepots 13ae592738 Rename sockets.nim to socket.nim and rpcsockets.nim to rpcsocket.nim 2018-07-11 10:40:20 +01:00
coffeepots b218529d2d Remove generics from server and update sockettransport 2018-07-11 10:19:13 +01:00
coffeepots cf44cc552d Remove DSL, add router and simplify server 2018-07-06 17:47:43 +01:00
coffeepots 8d1174b136 Updated paths to use rpcserver now that streamservers are in there 2018-06-19 18:17:56 +01:00
coffeepots 746232a928 Revert "Rename rpcstreamserver and newStreamServer to rpcsocketserver and newSocketServer"
This reverts commit 0dfb4be55c.
2018-06-15 11:11:10 +01:00
coffeepots 0dfb4be55c Rename rpcstreamserver and newStreamServer to rpcsocketserver and newSocketServer 2018-06-15 10:34:24 +01:00
coffeepots bb07650f33 Update tests to use streamserver 2018-06-14 16:55:10 +01:00
cheatfate 2b12f3699a Added reviews requirements. 2018-06-10 04:09:51 +03:00
cheatfate 7607cc4106 Fix connect(). 2018-06-08 09:31:51 +03:00
cheatfate aea1798897 Add close() procedure for RpcServer.
Fixed tests to stop/close server.
2018-06-07 11:20:33 +03:00
cheatfate cbfe945fff Use asyncdispatch2 instead of asyncdispatch. 2018-06-07 10:02:14 +03:00
coffeepots 92bae923c9 Split tests into standard client-server, rpc macro tests and ethtests 2018-05-30 16:36:55 +01:00
coffeepots ce86719f4c `on` is now `rpc` for now to fix compilation issue 2018-05-29 13:20:07 +03:00
coffeepots df83872a74 Add tests for stint return values and parameters 2018-05-29 13:20:07 +03:00
coffeepots b4c31d5ada add test for `return` statement within `on` macro 2018-05-29 13:20:07 +03:00
coffeepots 0a2b4fa1d8 rpcserver must be before asyncdispatch for correct parsing 2018-05-29 13:20:07 +03:00
coffeepots 14ef63294e fix `result not found` by changing import order... 2018-05-29 13:20:07 +03:00
coffeepots 1953a35532 Added some more simple tests 2018-05-29 13:20:07 +03:00
coffeepots 0193ba2bab Use rpcserver import 2018-05-29 13:20:07 +03:00
coffeepots ca7a1efa97 Remove redundant tests, add more error checks 2018-05-29 13:20:07 +03:00
coffeepots 444bbc1493 Updated tests to check return type processing 2018-05-29 13:20:07 +03:00
coffeepots 758653fb62 Remove {.rpc.} macro and merged testing into testrpcmacro 2018-05-29 13:20:07 +03:00
coffeepots 1cf3a930b5 Moved rpc macro tests out into separate module 2018-05-29 13:20:07 +03:00