aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc/src
Commit message (Collapse)AuthorAgeFiles
* jsonrpc/server: Remove panic on peer endpoint retrieval during incoming ↵hozan232024-07-041
| | | | connection handling
* jsonrpc: remove redundant macro codes in the main crate and clean uphozan232024-06-305
| | | | internal proc macros
* jsonrpc: remove unwrap() and use expect() for examples, docs, and testshozan232024-06-304
|
* jsonrpc: minor tweak to support Rust 1.64.0hozan232024-06-301
|
* use shadown variables to name clones and place them between {} when spawning ↵hozan232024-06-293
| | | | new tasks
* Improve async channels error handling and replace unbounded channels with ↵hozan232024-06-271
| | | | | | | | | | | bounded channels Remove all unbounded channels to prevent unbounded memory usage and potential crashes. Use `FuturesUnordered` for sending to multiple channels simultaneously. This prevents the sending loop from blocking if one channel is blocked, and helps handle errors properly.
* jsonrpc: add info logs when connecting/listening to endpointhozan232024-06-232
|
* jsonrpc/client: close the subscription channel when calling unsubscribehozan232024-06-222
|
* jsonrpc: use `ServerConfig` and `ClientConfig` as the inner field inhozan232024-06-226
| | | | `ServerBuilder` and `ClientBuilder`
* jsonrpc: add tcp, tls and ws features for compilationhozan232024-06-224
|
* jsonrpc/client: fix subscription error when the subscriber cannot keep uphozan232024-06-218
| | | | | | Add a limit for receiving notifications for the subscription. If this limit is exceeded, the client will stop and raise an error. The limit is configurable when building a new client.
* jsonrpc/server: use weak pointer for Channel in subscriptionshozan232024-06-172
|
* jsonrpc/client: use serde untagged enum for decoding Notifications and Responseshozan232024-06-173
|
* bump version to 0.1.3hozan232024-06-151
|
* jsonrpc/server: check for the jsonrpc version in the requesthozan232024-06-151
|
* jsonrpc: separate the RPC errors from the library implementation errorshozan232024-06-156
|
* jsonrpc: client use unbounded channels as buffer for sending requests & ↵hozan232024-06-145
| | | | clean up examples
* p2p: WIP implement rpc server for the p2p monitorhozan232024-06-142
|
* jsonrpc: spread out comments and clean uphozan232024-06-139
|
* jsonrpc/server: use queue with condvar instead of async channelshozan232024-05-303
|
* jsonrpc: add comments & remove debugging codehozan232024-05-283
|
* jsonrpc: move `SubscriptionID` to message.rshozan232024-05-284
|
* jsonrpc: enable concurrent requests in `Client`hozan232024-05-285
|
* p2p: WIP rpc server implementation for the p2p monitorhozan232024-05-274
|
* jsonrpc: remove subscriber field from Request & clean uphozan232024-05-233
|
* jsonrpc: spawn task when handle new requesthozan232024-05-237
|
* jsonrpc: cargo fmthozan232024-05-221
|
* jsonrpc: main example clean uphozan232024-05-221
|
* jsonrpc: support pubsubhozan232024-05-2210
|
* jsonrpc: minor cleanup to the main examplehozan232024-05-201
|
* jsonrpc: add ws cargo featureshozan232024-05-203
|
* jsonrpc: remove jsonrpc_internal cratehozan232024-05-193
|
* update READMEshozan232024-05-191
|
* add support for tokio & improve net crate apihozan232024-05-197
|
* core: minor modification to TaskGroup apihozan232024-03-211
|
* core: add the option to create a new task group without providing anhozan232024-03-201
| | | | executor & remove GlobalExecutor type
* jsonrpc: extend the example in the libraryhozan232024-03-133
|
* jsonrpc: Handle client connection failures & perform general cleanuphozan232024-03-113
|
* Ensure uniform usage of the name `karyon` across all fileshozan232023-12-026
|
* net: Use ToConn and ToListener traits for objects that can be convertedhozan232023-11-303
| | | | to Conn and Listener.
* net: rename `Listener` trait to `ConnListener`hozan232023-11-301
|
* jsonrpc: Enhance the API and add support for TCP, Unix, and TLS protocols.hozan232023-11-303
|
* implement TLS for inbound and outbound connectionshozan232023-11-283
|
* update README.mdhozan232023-11-231
|
* general clean ups for the docshozan232023-11-232
|
* jsonrpc: switch to LF delimiter for reading json, replacing the dummy delimiterhozan232023-11-213
|
* jsonrpc/codec: rename `max_allowed_msg_size` to `max_allowed_buffer_size`hozan232023-11-202
|
* jsonrpc: add Codec struct for reading from and writing to the connectionhozan232023-11-205
|
* jsonrpc: move RPCService to separate modulehozan232023-11-203
|
* karyons jsonrpc implementationhozan232023-11-196