Commit Graph

  • ad0c3fb6e0
    fix missing req id in router exception handler jangko 2022-02-28 09:39:49 +07:00
  • 0540afad4c
    specify Content-Type: application/json HTTP header (#129) tersec 2022-02-23 07:43:08 +00:00
  • 733a05b00c
    fixes wrong CI badge URL in readme.md jangko 2022-02-13 13:48:47 +07:00
  • 51fadf850c
    Fix #124 jangko 2022-02-13 13:44:24 +07:00
  • 97ba55bbf6
    Release the HTTP sessions Zahary Karadjov 2022-02-02 19:51:04 +02:00
  • 5a28176080 Fix #117 Zahary Karadjov 2021-11-30 02:45:36 +02:00
  • 77c85a8876
    fix missing logging import Jacek Sieka 2021-12-17 11:36:49 +01:00
  • 24b56c8d2b
    CI: test with multiple Nim versions (#121) Ștefan Talpalaru 2021-12-16 23:33:42 +01:00
  • 59a01aa200 Remove version pin on chronicles Mark Spanbroek 2021-12-16 11:47:45 +01:00
  • 35e6d7e6ff
    Restore the support for using the news package Zahary Karadjov 2021-11-29 13:17:41 +02:00
  • 7ff4559cc0 Allow dynamic RPC method names in the 'rpc' macro Zahary Karadjov 2021-11-24 14:41:50 +02:00
  • c455198d4f
    Eliminate code duplication in the HTTP/S servers Zahary Karadjov 2021-11-22 20:24:11 +02:00
  • e4dba96f5c
    Improve cancellation support and code style Zahary Karadjov 2021-11-22 17:24:07 +02:00
  • 7ab1b31614
    Fix code breakage after the rebase Zahary Karadjov 2021-11-22 16:25:29 +02:00
  • 3599a73b58
    Chronos HTTP(S) Server (#111) Bernardo A. Rodrigues 2021-11-22 10:09:13 -03:00
  • 9db5407e81
    Switch to Chronos HTTP client (adds support for HTTPS) Zahary Karadjov 2021-05-29 19:15:03 +03:00
  • 2307dbec57 Add support for producing custom error codes from request hanlers Zahary Karadjov 2021-10-06 10:50:08 +02:00
  • b2417fc071
    fix both ws rpc server and client due to websock breaking changes jangko 2021-08-05 14:54:36 +07:00
  • a1715e33ac
    Make client config public (#113) KonradStaniec 2021-08-02 13:18:51 +02:00
  • eda5e8554f
    add support for websocket in proxy (#112) KonradStaniec 2021-07-30 11:24:09 +02:00
  • 318949a401
    fixes ws rpc client bug: error when trying to connect to infura jangko 2021-07-19 07:52:57 +07:00
  • a138c410c5
    [FEATURE] Add additional constructor to the proxy (#108) KonradStaniec 2021-07-12 07:22:01 +02:00
  • 147ef3f562
    [FEATURE] Add http json rpc proxy (#105) KonradStaniec 2021-06-29 17:13:31 +02:00
  • 809172abe4
    rename ws to websock jangko 2021-06-27 13:41:21 +07:00
  • 62becee070
    rpcwsserver: allocate deflateFactory only if compression enabled jangko 2021-06-25 16:41:35 +07:00
  • b9e9be8f19
    use string.fromBytes to replace cast[string](bytes) jangko 2021-06-23 19:32:05 +07:00
  • 69e8be66fb
    add compression support for websocket rpc server-client jangko 2021-06-23 19:08:07 +07:00
  • ccb19734e6
    add test cases for rpc websocket client-server jangko 2021-06-23 18:44:14 +07:00
  • b8a8ca2623
    replace news with nim-ws jangko 2021-06-23 18:43:02 +07:00
  • c6be913c69
    implement json rpc websocket server jangko 2021-06-23 17:41:31 +07:00
  • a79f10f10f
    adapt testserverclient for upcoming websocket test jangko 2021-06-23 16:09:44 +07:00
  • 22c342bcc1 CI: refactor Nim compiler caching Ștefan Talpalaru 2021-05-28 00:25:30 +02:00
  • 7a9d118929 More proper client closing code Zahary Karadjov 2021-04-06 21:48:32 +03:00
  • 64d40d6c1a
    simplify imports (#98) Jacek Sieka 2021-03-26 13:17:00 +01:00
  • ac5288651c
    Exception handling signatures (#97) Jacek Sieka 2021-03-26 11:53:03 +01:00
  • 4eb39203eb
    fixes (#95) Jacek Sieka 2021-02-15 13:45:51 +01:00
  • 831471f6d4
    Added the ability to handle omitted params fields in incoming requests, and a unit test for it (#94) Joe Clapis 2021-02-07 14:27:34 -05:00
  • b0e82cb70a enable cross-compilation Ștefan Talpalaru 2021-02-02 23:25:07 +01:00
  • ded863fcb1
    Merge pull request #91 from status-im/github_action andri lim 2021-01-08 12:05:25 +07:00
  • 6ccf3141e8
    add github action script jangko 2021-01-07 18:12:27 +07:00
  • ce51ffdf16
    print url in log startup message (#89) Jacek Sieka 2021-01-07 10:42:26 +01:00
  • dc3a2d33fc
    Added marshalling support for uint32 (#88) Hanno Cornelius 2020-11-16 16:45:53 +02:00
  • 99455437ba
    Fix silent uint64 negative conversion https://github.com/status-im/nim-beacon-chain/issues/1671 https://github.com/status-im/nim-beacon-chain/pull/1819 (#85) Mamy Ratsimbazafy 2020-10-07 12:09:36 +02:00
  • dff46c991d
    Merge pull request #84 from status-im/update_dependency andri lim 2020-09-21 12:47:11 +07:00
  • 18dceaa29f
    change tormund/news to status-im/news jangko 2020-09-21 11:37:29 +07:00
  • 62349c39c6
    avoid spamming logs when rpcs happen (#83) Giovanni Petrantoni 2020-09-06 03:41:26 +09:00
  • 6406c96b27
    Merge pull request #82 from status-im/chronos Ștefan Talpalaru 2020-08-08 16:08:50 +02:00
  • d90bdb679b
    can't use result when returning Future[void] Ștefan Talpalaru 2020-08-06 20:01:32 +02:00
  • 244254632b
    Improved handling of invalid responses; Handle seq[byte] results such as eth_getCode Zahary Karadjov 2020-06-19 16:33:44 +03:00
  • 8c1a8ef8d9 serialization for tuples - just like for objects Viktor Kirilov 2020-06-11 13:36:26 +03:00
  • 271512c161 proper name for topics so that we can filter dynamically using chronicles Viktor Kirilov 2020-06-09 17:00:21 +03:00
  • ecf49a0632 updated news Viktor Kirilov 2020-05-08 16:13:00 +03:00
  • 5c0d096111
    Support Nim 1.2 Zahary Karadjov 2020-03-24 16:50:34 +02:00
  • 6fbaeb61ca
    Switch to json_serialition.JsonString to facilitate Chronicles logging Zahary Karadjov 2020-03-18 18:14:29 +02:00
  • f53e0b960b
    Fix all tests Zahary Karadjov 2020-03-17 22:05:42 +02:00
  • d19de19128
    Refactor the router to allow bypassing the use of std/json Zahary Karadjov 2020-03-17 20:36:23 +02:00
  • 4d1d2577e9
    Trivial changes required for the beacon node integration Zahary Karadjov 2020-03-17 00:17:10 +02:00
  • 09f6fd6355
    fix logging in JSON format Ștefan Talpalaru 2020-02-13 17:05:55 +01:00
  • 9b401994a1
    Follow the convention of naming types as UpperCase Zahary Karadjov 2020-01-21 18:50:50 +02:00
  • 6f9da4ba8a
    Make the RPC procs async again Zahary Karadjov 2020-01-21 18:49:52 +02:00
  • fc0665f88a
    Merge branch 'exceptions' Ștefan Talpalaru 2019-12-02 14:16:14 +01:00
  • 72a99cc977
    replace getCurrentExceptionMsg() and delete some unused imports Ștefan Talpalaru 2019-12-02 12:14:00 +01:00
  • b6336cb725
    Merge pull request #69 from status-im/error-handling Yuriy Glukhov 2019-11-25 11:20:46 +02:00
  • d4fbed75c7
    Better error handling Yuriy Glukhov 2019-11-22 14:37:54 +02:00
  • ef2e3cea19 Log errors in websocket readloop Yuriy Glukhov 2019-10-10 17:13:34 +03:00
  • 9214b095fb
    CI: update script path Ștefan Talpalaru 2019-08-24 04:42:35 +02:00
  • 07e82fa194 Allow creating http client from url Yuriy Glukhov 2019-07-31 12:04:53 +03:00
  • de05184c74 replace {.gcsafe.} block with more proc pragmas Ștefan Talpalaru 2019-07-19 11:44:29 +02:00
  • 8168fcea25 fix some problems raised by Nim 0.20.2 Ștefan Talpalaru 2019-07-19 11:12:25 +02:00
  • 3b02cbd946
    Merge pull request #61 from status-im/custom-headers Yuriy Glukhov 2019-07-17 13:07:04 +03:00
  • 881c62ed54 Allow custom headers in ws backend. Set Origin to http://localhost by default Yuriy Glukhov 2019-07-02 16:15:41 +03:00
  • af33cb9fbc
    Merge pull request #60 from status-im/fixes Yuriy Glukhov 2019-06-26 17:11:21 +03:00
  • d031ab3eb4 Fixed error reporting for unexpected response id Yuriy Glukhov 2019-06-26 13:40:44 +03:00
  • 4bb08c671b Fixed race condition when rpc server responds too fast Yuriy Glukhov 2019-06-26 13:39:58 +03:00
  • 48699c50ca Make the new methods gcsafe to solve build issues in Nimbus Zahary Karadjov 2019-06-24 19:49:31 +03:00
  • 9d0326aad4 Allow building with chronicles_sinks=json Zahary Karadjov 2019-06-20 15:46:39 +03:00
  • 5aefe497b7
    Merge branch 'buildnim' Ștefan Talpalaru 2019-06-18 21:51:05 +02:00
  • 5028b8250e
    build_nim.sh Ștefan Talpalaru 2019-06-18 19:30:17 +02:00
  • 94e271f0f3
    Merge pull request #57 from status-im/websockets Yuriy Glukhov 2019-06-18 13:09:51 +03:00
  • b583dfb029 Use closeWait Yuriy Glukhov 2019-06-17 19:56:19 +03:00
  • ac2f6b9360 Comments addressed Yuriy Glukhov 2019-06-17 18:44:17 +03:00
  • f19d66b35c Websocket client support and some fixes Yuriy Glukhov 2019-06-12 16:44:19 +03:00
  • 707567c7ab Check if method field is a string kdeme 2019-05-09 15:31:28 +02:00
  • 27dea58c4d
    Merge branch 'fixfreeze' Ștefan Talpalaru 2019-05-15 00:13:37 +02:00
  • a56ad7dfcb
    Fix freezes on *nix systems. cheatfate 2019-05-14 18:42:51 +03:00
  • 493583b7f4
    cosmetic change Ștefan Talpalaru 2019-05-09 16:34:01 +02:00
  • 40411aef5a Add JObject check to resolve possible unhandled exception kdeme 2019-04-28 21:59:33 +02:00
  • 92a7b78f4a
    Nim HEAD support Ștefan Talpalaru 2019-04-26 00:17:04 +02:00
  • 2d3db88137 Fix deprecated warnings. cheatfate 2019-03-25 08:58:35 +02:00
  • 159f9b816e
    assert() -> doAssert() Ștefan Talpalaru 2019-03-13 22:42:07 +01:00
  • 53ed44dfa5
    Rebrand asyncdispatch2 to chronos (#50) Mamy Ratsimbazafy 2019-02-06 18:27:58 +01:00
  • 1083b2972a support Content-Type headers with specified charset Ștefan Talpalaru 2019-01-25 20:11:01 +01:00
  • 756ad70598 add the root cause issue in a comment, so we know Ștefan Talpalaru 2019-01-17 14:49:22 +01:00
  • b2c5fa8e58 disable Chronicles colours on Windows Ștefan Talpalaru 2019-01-17 13:52:49 +01:00
  • 64a9999ac9 another {.gcsafe.} pragma, just for Windows Ștefan Talpalaru 2019-01-15 21:36:46 +01:00
  • c29e4de623 add "--threads:on" to tests Ștefan Talpalaru 2019-01-10 23:07:58 +01:00
  • 0cdeb04a12 fix httpclient logScope 'topic' to 'topics' andri lim 2019-01-16 17:59:40 +07:00
  • b4a3273152 fix test andri lim 2019-01-12 19:58:16 +07:00
  • b9286104e7 use HTTP1.0 and drop connection:keep-alive andri lim 2019-01-10 09:40:28 +07:00
  • cbbdc34399 fix breakage with Nim HEAD Ștefan Talpalaru 2019-01-03 22:02:14 +01:00