- Apr 20, 2022
-
-
Niklas Adolfsson authored
* feat: untested web-sys transport * rewrite me * make it work * add hacks and works :) * add subscription test too * revert StdError change; still works * cleanup * remove hacks * more wasm tests outside workspace * kill mutually exclusive features * merge nits * remove unsafe hack * fix nit * core: fix features and deps * ci: add WASM test * test again * work work * comeon * work work * revert unintentional change * Update core/Cargo.toml Co-authored-by: David <[email protected]> * Update core/src/client/async_client/mod.rs Co-authored-by: David <[email protected]> * revert needless change: std hashmap + fxhashmap works * cleanup * extract try_connect_until fn * remove todo * fix bad merge * add wasm client wrapper crate * fix nits * use gloo-net dependency * fix build * grumbles CI: rename to `wasm_tests` * fix bad merge * fix grumbles * fix nit * comeon CI Co-authored-by: David <[email protected]>
-
Niklas Adolfsson authored
* fix(rpc module): fail subscription with bad params * draft; show my point * fix tests * fix build * add tests for proc macros too * add tests for bad params in proc macros * fix nits * commit all files * add ugly fix for proc macro code * add more user friendly API * make SubscriptionSink::close take mut self * fix grumbles * show james some code * Update core/src/server/rpc_module.rs Co-authored-by: James Wilson <[email protected]> * remove needless clone * fix build * client fix docs + error type * simplify code: merge connect reset and unsubscribe close reason * remove unknown close reason * refactor: remove Error::SubscriptionClosed * add some nice APIs to ErrorObjectOwned * unify api * address grumbles * remove redundant methods for close and reject * proc macro: compile err when subscription -> Result * rpc module: fix test subscription test * Update core/src/server/rpc_module.rs Co-authored-by: James Wilson <[email protected]> * Update core/src/server/rpc_module.rs Co-authored-by: James Wilson <[email protected]> * Update core/src/server/rpc_module.rs Co-authored-by: James Wilson <[email protected]> * Update core/src/server/rpc_module.rs Co-authored-by: James Wilson <[email protected]> * Update core/src/server/rpc_module.rs Co-authored-by: James Wilson <[email protected]> * Update proc-macros/src/lib.rs Co-authored-by: James Wilson <[email protected]> * address grumbles * remove faulty comment * Update core/src/server/rpc_module.rs Co-authored-by: David <[email protected]> * Update core/src/server/rpc_module.rs Co-authored-by: David <[email protected]> * Update core/src/server/rpc_module.rs Co-authored-by: David <[email protected]> * Update core/src/server/rpc_module.rs Co-authored-by: David <[email protected]> * Update core/src/server/rpc_module.rs Co-authored-by: David <[email protected]> * fix: don't send `RPC Call failed: error`. * remove debug assert Co-authored-by: James Wilson <[email protected]> Co-authored-by: David <[email protected]>
-
- Apr 01, 2022
-
-
Niklas Adolfsson authored
* fix(client): close subscription when server sent `SubscriptionClosed` notification * Update core/src/client/async_client/helpers.rs
-
- Mar 30, 2022
-
-
Niklas Adolfsson authored
* refactor: get rid off `Error::Request` variant * fix nit * to_owned -> to_call_error
-
- Jan 21, 2022
-
-
Niklas Adolfsson authored
* feat(client): support request id as Strings. * add tests for Id::String * address grumbles: move id_kind to RequestManager * Update client/http-client/src/client.rs * types: take ref to `ID` get rid of some `Clone` * remove more clone * grumbles: rename tests
-
- Dec 22, 2021
-
-
Niklas Adolfsson authored
Implies MSRV 1.56.x
-
- Dec 21, 2021
-
-
Niklas Adolfsson authored
* PoC * introduce IdProvider trait * revert Cow stuff * Update ws-server/src/server.rs * fix tests * cargo fmt * use 'static lifetime in SubscriptionId * fix tests * fmt * make tests compile again * fix tests * Fix tests * Move IdProvider impls to own module * move `sub-id gen` types to `core` * fix doc links * make rand non-optional dep * feature gate: id provider Co-authored-by: David Palm <[email protected]>
-
- Dec 20, 2021
-
-
Niklas Adolfsson authored
* extract ws client to async client * bring back jsonrpsee-ws-client crate * new crate core client * add missing file * jsonrpsee crate: add core client * rexport core client * more re-exports * downgrade trait bounds * update version * fix nits * send close reason * Update types/src/traits.rs * move 'TEN_MB_CONST' to core * Update client/core-client/Cargo.toml Co-authored-by: David <[email protected]> * Update client/core-client/src/lib.rs Co-authored-by: David <[email protected]> * cargo fmt * Update client/ws-client/src/lib.rs Co-authored-by: David <[email protected]> * Update client/ws-client/src/lib.rs Co-authored-by: David <[email protected]> * move `async-client` core The `async-client` is hidden behind a new feature flag `async-client` because it brings in additional dependecies such as tokio rt. * fix docs * add example how to use "core client" * fix build * Update http-server/Cargo.toml * Update client/transport/Cargo.toml Co-authored-by: David <[email protected]>
-
- Feb 26, 2020
-
-
Pierre Krieger authored
* Merge all the crates into one * Rustfmt * Fix examples * Fix tests
-
- Feb 19, 2020
-
-
Pierre Krieger authored
* Prepare core for no_std support * Fix missing documentation thingies * Rustfmt * For some reason my local rustfmt didn't pick up these changes * Fix compilation * Rustfmt
-
- Jan 03, 2020
-
-
Pierre Krieger authored
* Rename Client/Server -> RawClient/RawServer * SharedClient/Server -> Client/Server * Rename http/ws constructors * Rustfmt * Fix some bad renames * Rustfmt * More fixing
-
- Jan 02, 2020
-
-
Pierre Krieger authored
* Add a SharedClient * More work * More work * More work * Finish Sharedclient * Fix merge conflict * Add From impl
-
- Nov 22, 2019
-
-
Pierre Krieger authored
* RawClient -> TransportClient * RawServer -> TransportServer * Rustfmt
-
- Nov 21, 2019
-
-
Pierre Krieger authored
* Add ClientActiveSubscription::is_closing * Rustfmt
-
- Nov 19, 2019
-
-
Pierre Krieger authored
* Allow closing a subscription from the client side * Rustfmt
-
- Nov 16, 2019
-
-
Pierre Krieger authored
-
- Nov 15, 2019
-
-
Pierre Krieger authored
* Run rustfmt on core * Apply rustfmt on ws * Apply rustfmt on proc-macro
-
- Oct 29, 2019
-
-
Pierre Krieger authored
* Add license header everywhere * Update company name * Fix bad merge
-
- Oct 01, 2019
-
-
Pierre Krieger authored
* Rework the Client to support multiple concurrent requests * Restore proc-macro functionnality * More work * More work * More work * Even more work * Subscriptions working * Dix docs * More test fix
-
- Sep 23, 2019
-
-
Pierre Krieger authored
-
- Sep 11, 2019
-
-
Pierre Krieger authored
-
- Sep 10, 2019
-
-
Pierre Krieger authored
-
- Sep 09, 2019
-
-
Pierre Krieger authored
-