Giovanni Petrantoni
62349c39c6
avoid spamming logs when rpcs happen ( #83 )
2020-09-05 20:41:26 +02:00
Ștefan Talpalaru
d90bdb679b
can't use result
when returning Future[void]
2020-08-07 17:24:15 +02:00
Viktor Kirilov
271512c161
proper name for topics so that we can filter dynamically using chronicles
2020-06-09 17:00:21 +03:00
Zahary Karadjov
d19de19128
Refactor the router to allow bypassing the use of std/json
...
The users will be now able to write RPC handlers returning the
distinct type `StringOfJson`. This will bypass any use of the
standard library's JsonNode type and its serialization routines.
The change was motivated by the integration of JSON-RPC in
status-im/nim-beacon-chain where most of the data types cannot
be handled by Nim's std lib or json-rpc's jsonmarshal module.
2020-03-17 20:38:52 +02:00
Zahary Karadjov
4d1d2577e9
Trivial changes required for the beacon node integration
2020-03-17 00:17:10 +02:00
Ștefan Talpalaru
09f6fd6355
fix logging in JSON format
2020-02-13 17:05:55 +01:00
Ștefan Talpalaru
72a99cc977
replace getCurrentExceptionMsg() and delete some unused imports
2019-12-02 12:26:09 +01:00
cheatfate
a56ad7dfcb
Fix freezes on *nix systems.
2019-05-14 18:42:51 +03:00
cheatfate
2d3db88137
Fix deprecated warnings.
2019-03-25 19:28:31 +02:00
Mamy Ratsimbazafy
53ed44dfa5
Rebrand asyncdispatch2 to chronos ( #50 )
2019-02-06 18:27:58 +01:00
Ștefan Talpalaru
1083b2972a
support Content-Type headers with specified charset
...
and add RPC message content to the debugging output (at the TRACE level,
disabled by default)
2019-01-28 12:39:27 +02:00
coffeepots
bb9896d693
Add closeWait to httpServer
2018-09-13 18:06:33 +01:00
coffeepots
ef86bf3bce
Add closeWait to socketServer
2018-09-13 18:06:13 +01:00
cheatfate
0942b0387d
Add RpcHttpServer.
...
Add RpcHttpClient.
2018-07-14 10:51:54 +03:00
coffeepots
1ca1847600
Make client usable with different transports
2018-07-12 18:36:40 +01:00