19 Commits

Author SHA1 Message Date
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
c455198d4f
Eliminate code duplication in the HTTP/S servers 2021-11-22 20:24:11 +02:00
Zahary Karadjov
7ab1b31614
Fix code breakage after the rebase 2021-11-22 17:05:26 +02:00
Bernardo A. Rodrigues
3599a73b58
Chronos HTTP(S) Server (#111) 2021-11-22 15:14:30 +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
Jacek Sieka
64d40d6c1a
simplify imports (#98)
remove broken uint64 converter - upstream std/json also includes a
broken uint64 converter
2021-03-26 13:17:00 +01:00
Jacek Sieka
4eb39203eb
fixes (#95)
* fixes

* fix https://github.com/status-im/nimbus-eth2/issues/1650
* only one of `result` and `error` allowed in response
* fix invalid `string` instances being created from byte sequences
* fix large int64 parsing on 32-bit
* fix exception inheritance
* fix some dangling results
* some cleanups

* annotate exception issues, fix cancellation

* more error handling cleanup

* add rudimentary error tests

* cleanups

* simplify init
* use nextId -> lastId to avoid =1 init
* remove obsolete tests
2021-02-15 13:45:51 +01:00
Jacek Sieka
ce51ffdf16
print url in log startup message (#89)
...and tone down connection logging
2021-01-07 10:42:26 +01:00
Giovanni Petrantoni
62349c39c6
avoid spamming logs when rpcs happen (#83) 2020-09-05 20:41:26 +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
Ș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
cheatfate
0942b0387d Add RpcHttpServer.
Add RpcHttpClient.
2018-07-14 10:51:54 +03:00