13 Commits

Author SHA1 Message Date
Jacek Sieka
98a5efba4d
Various error handling and processing fixes (#228)
* remove redundant gcsafe/raises
* rework async raises to chronos 4.0 where this was not yet done
* streamline logging between http/socket/ws
  * don't log error when raising exceptions (whoever handles should log)
  * debug-log requests in all variants of server and client
* unify ipv4/ipv6 address resolution, with preference for ipv6
* fix server start so that it consistently raises only when no addresses
could be bound
2024-10-22 21:58:46 +02:00
jangko
20b4c9a0fb
Let the OS choose the port for tests 2024-01-07 15:33:43 +07:00
jangko
76dd352ace
Remove StringOfJson 2024-01-04 07:49:19 +07:00
andri lim
e0b077fea4
Upgrade rpc router internals (#178)
* Upgrade rpc router internals

* use new chronos asyncraises

* Fix style mismatch

* Fix nim v2 compilation error

* Addresing review

* Remove unnecessary custom serializer and let the library do the work

* fix error message

* Update readme.md
2024-01-03 20:06:53 +07:00
jangko
c3769f9130
Add copyright to source file 2023-12-14 08:34:13 +07:00
KonradStaniec
64dbf122d7
Add authhooks to proxy constructor (#153) 2022-09-22 10:58:19 +02:00
jangko
0fee4be2cc
implement hook to handle CORS and JWT auth
- fixes #138
- fixes #126
- fixes #38
2022-07-17 23:06:08 +07:00
Zahary Karadjov
35e6d7e6ff
Restore the support for using the news package 2021-11-29 15:36:17 +02:00
Zahary Karadjov
7ab1b31614
Fix code breakage after the rebase 2021-11-22 17:05:26 +02:00
KonradStaniec
a1715e33ac
Make client config public (#113) 2021-08-02 13:18:51 +02:00
KonradStaniec
eda5e8554f
add support for websocket in proxy (#112) 2021-07-30 11:24:09 +02:00
KonradStaniec
a138c410c5
[FEATURE] Add additional constructor to the proxy (#108) 2021-07-12 07:22:01 +02:00
KonradStaniec
147ef3f562
[FEATURE] Add http json rpc proxy (#105) 2021-06-29 18:13:31 +03:00