Commit Graph

20 Commits

Author SHA1 Message Date
Mahesh Bansod 4003dfe246 Added method to specify host of raw client 2021-11-07 18:49:15 +05:30
Mahesh Bansod 31faf60285 Added Network Errors 2021-11-07 15:33:22 +05:30
Mahesh Bansod c95c71c1bd Added InvalidPeerInput Validation error case for Display trait + removed multisession errors from SocialVoidError 2021-11-05 16:42:57 +05:30
Mahesh Bansod 9ae31ee544 rename all crates to add prefix socialvoid_ 2021-10-18 20:44:34 +05:30
Mahesh Bansod 28448a715f Added some validation error enum values 2021-10-16 12:12:59 +05:30
Mahesh Bansod 5c2a492a2c removed some unnecessary let bindings 2021-10-16 11:54:28 +05:30
Mahesh Bansod 328b582088 Streaming the file instead of sending all the bytes at once 2021-10-16 11:52:04 +05:30
Mahesh Bansod 59563f212f Allow changing cdn url by client 2021-10-16 11:47:18 +05:30
Mahesh Bansod 843a1a6d9c lazy evaluation by adding closures i.e. `*_or(` to `*_or_else(|_?|` wherever possible 2021-10-15 20:37:17 +05:30
Mahesh Bansod 2f50417edd Added cdn stuff + made Document public + sent SessionIdentification to types crate 2021-10-15 20:29:55 +05:30
Mahesh Bansod bf90db3fdc created a clienterror enum for handling client specific errors instead of using a simple string 2021-10-01 21:46:31 +05:30
Mahesh Bansod 922dbfb8ba fix: not returning the session established object - setting it in `established` field of `SessionHolder` now. 2021-09-30 21:56:00 +05:30
Mahesh Bansod b7c93d535e Added clienterror in errors 2021-09-19 20:34:39 +05:30
Mahesh Bansod 1386a9f8d4 added authentication errors + fixed formatting in jsonrpc2-client 2021-09-19 16:13:39 +05:30
Mahesh Bansod ce0d93b4dd Did clippy suggestions - enum variant names for error variant, check for range with contains for error ranges 2021-09-19 16:01:12 +05:30
Mahesh Bansod 44c90f4d9a added rest of the validation errors 2021-09-17 20:51:06 +05:30
Mahesh Bansod 983f298574 added errors - rpcerrors 2021-09-17 20:46:40 +05:30
Mahesh Bansod 87c412c939 reorganized errors + added server errors 2021-09-16 20:49:26 +05:30
Mahesh Bansod 14db0e3146 fix: wip errors 2021-09-16 12:42:03 +05:30
Mahesh Bansod 239ca2d1a7 initial commit - added jsonrpclient, session, rawclient 2021-09-16 12:22:41 +05:30