556 Commits

Author SHA1 Message Date
coffeepots
f60a648968 Move remaining rpc routing to router.nim 2018-07-10 10:39:09 +01:00
coffeepots
9075b967d1 Move start, stop and close to transport specific sockettransport 2018-07-09 09:58:39 +01:00
coffeepots
f943c584c7 Add check for empty string 2018-07-09 09:43:23 +01:00
coffeepots
4e300f1539 Remove callback arguement, addStreamServer should be using processClient 2018-07-09 09:38:26 +01:00
coffeepots
cf44cc552d Remove DSL, add router and simplify server 2018-07-06 17:47:43 +01:00
coffeepots
b968d96923 Fix to allow compilation of testerrors 2018-07-05 12:40:11 +01:00
coffeepots
0c98f79d9c Rename to json_rpc 2018-06-26 19:08:11 +01:00
coffeepots
68d428a0a9 Add support for error verb 2018-06-26 17:15:28 +01:00
coffeepots
bed76ed00f Fix for errant msg 2018-06-26 17:15:14 +01:00
coffeepots
2c92487e1a Remove redundant "done" echo 2018-06-26 16:29:09 +01:00
coffeepots
c4b27e40bf Add http test 2018-06-26 16:28:49 +01:00
coffeepots
80ef987852 Remove let, use value 2018-06-26 16:28:34 +01:00
coffeepots
1feca64ca8 Renamed client access variable to transport 2018-06-26 16:24:35 +01:00
coffeepots
d5f397104e Added note comment 2018-06-26 16:24:04 +01:00
coffeepots
f8e178e5b3 Json extraction for http server read 2018-06-26 16:23:34 +01:00
coffeepots
d36da9d14c Added testing, uses http client and server 2018-06-26 15:45:40 +01:00
coffeepots
9e8121b405 Added http rpc client definition 2018-06-26 15:44:58 +01:00
coffeepots
8685135fe9 Update comments 2018-06-26 15:40:09 +01:00
coffeepots
e508cc077d Custom client transports operational 2018-06-26 15:38:49 +01:00
coffeepots
ac9964370e Allow custom client transports (WIP) 2018-06-25 17:54:28 +01:00
coffeepots
13d560738a Remove shallow copy in place of a template 2018-06-25 17:21:33 +01:00
coffeepots
79e756bd3c Update tests to use rpcStreamClient 2018-06-22 19:06:03 +01:00
coffeepots
ef6041ea6a WIP custom clients 2018-06-22 19:05:32 +01:00
coffeepots
99018eede4 Update for define rename 2018-06-22 18:22:17 +01:00
coffeepots
ffb4752811 Name updates, defineRpcTransport to defineRpcServerTransport 2018-06-22 18:21:58 +01:00
coffeepots
11e2e18977 Ignore vscode settings folder 2018-06-21 18:44:01 +01:00
coffeepots
09b55a5b32 More error checking (WIP) 2018-06-21 18:40:49 +01:00
coffeepots
b632cbfb25 Added HTTP afterRead code (WIP) 2018-06-21 18:39:47 +01:00
coffeepots
7839a553a5 Added 'afterRead' verb to define rpc, exported defaultMaxRequestLength 2018-06-21 18:33:39 +01:00
coffeepots
d5116b07bb Updated comments 2018-06-21 18:22:04 +01:00
coffeepots
5208755f63 Remove debug echo 2018-06-21 18:17:46 +01:00
coffeepots
501d5a398c Updated to test defining HTTP-RPC (WIP, client needs more work) 2018-06-21 18:16:06 +01:00
coffeepots
b245a23745 Server now allows defining read, write and close code directly 2018-06-21 18:15:21 +01:00
coffeepots
6b619472f3 Test errors WIP 2018-06-19 18:22:13 +01:00
coffeepots
49afd6ee76 Add simple test for HTTP (WIP) 2018-06-19 18:22:01 +01:00
coffeepots
14009846ef Add beginnings of HTTP-RPC 2018-06-19 18:21:37 +01:00
coffeepots
23911ad80e Fix bad debug log 2018-06-19 18:20:46 +01:00
coffeepots
e42864ef7a Remove testerrors from tests whilst fixing exceptions in rpcs 2018-06-19 18:18:48 +01:00
coffeepots
8d1174b136 Updated paths to use rpcserver now that streamservers are in there 2018-06-19 18:17:56 +01:00
coffeepots
28ce222e23 Client now should fail the future on errors 2018-06-19 18:17:12 +01:00
coffeepots
c162f24253 Re-enabled chronicles, extended RpcClientTransport, added stream servers 2018-06-19 18:16:39 +01:00
coffeepots
ce94ba8b41 Removed rpcstreamservers and added to rpcserver 2018-06-19 18:15:43 +01:00
coffeepots
a20e5b85d1 Unified return type 2018-06-18 18:39:48 +01:00
coffeepots
81d52cb3cb Add validated hex string type 2018-06-18 18:31:11 +01:00
coffeepots
a5467063b7 Add simple validation for hex strings to web3_sha3 2018-06-15 20:35:49 +01:00
coffeepots
d789ca6fee Utilities for validating ethereum values 2018-06-15 20:33:29 +01:00
coffeepots
6e81e6c5f5 Updated concept to remove type 2018-06-15 13:02:37 +01:00
coffeepots
bdf47fd2ed Add rpc server init proc 2018-06-15 11:12:34 +01:00
coffeepots
746232a928 Revert "Rename rpcstreamserver and newStreamServer to rpcsocketserver and newSocketServer"
This reverts commit 0dfb4be55c4cbf852370b50971ba89f6539bf921.
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