aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc/src/server
Commit message (Collapse)AuthorAgeFiles
* jsonrpc: remove redundant macro codes in the main crate and clean uphozan232024-06-304
| | | | internal proc macros
* jsonrpc: remove unwrap() and use expect() for examples, docs, and testshozan232024-06-301
|
* 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-291
| | | | 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-231
|
* jsonrpc/client: close the subscription channel when calling unsubscribehozan232024-06-221
|
* jsonrpc: use `ServerConfig` and `ClientConfig` as the inner field inhozan232024-06-222
| | | | `ServerBuilder` and `ClientBuilder`
* jsonrpc: add tcp, tls and ws features for compilationhozan232024-06-221
|
* jsonrpc/client: fix subscription error when the subscriber cannot keep uphozan232024-06-212
| | | | | | 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/server: check for the jsonrpc version in the requesthozan232024-06-151
|
* jsonrpc: separate the RPC errors from the library implementation errorshozan232024-06-153
|
* jsonrpc: client use unbounded channels as buffer for sending requests & ↵hozan232024-06-142
| | | | clean up examples
* p2p: WIP implement rpc server for the p2p monitorhozan232024-06-141
|
* jsonrpc: spread out comments and clean uphozan232024-06-134
|
* jsonrpc/server: use queue with condvar instead of async channelshozan232024-05-302
|
* jsonrpc: move `SubscriptionID` to message.rshozan232024-05-281
|
* jsonrpc: enable concurrent requests in `Client`hozan232024-05-282
|
* p2p: WIP rpc server implementation for the p2p monitorhozan232024-05-271
|
* jsonrpc: remove subscriber field from Request & clean uphozan232024-05-231
|
* jsonrpc: spawn task when handle new requesthozan232024-05-233
|
* jsonrpc: support pubsubhozan232024-05-224