Commit Graph

77 Commits (39dd9280cb204e0fe493830c7cc826e86d79ae52)

Author SHA1 Message Date
Damir Jelić 19383fd28c async_client: Add a method to fetch the homeserver. 2020-01-11 22:24:32 +01:00
Damir Jelić 5688b2e70a async_client: Remove the response callbacks. 2019-12-04 22:35:19 +01:00
Damir Jelić e21806f3cc async_client: Add the sync_forever method. 2019-12-04 22:33:26 +01:00
Damir Jelić 41a183b4c0 nio: Upgrade ruma-client-api. 2019-12-04 19:31:33 +01:00
Damir Jelić 38ddad1874 async_client: Properly handle the EventResult for our timeline. 2019-11-26 20:47:02 +01:00
Damir Jelić afcb68cc0e async_client: Make our sync method threadsafe across yield points. 2019-11-26 20:34:11 +01:00
Damir Jelić 19b9927de6 nio: Don't make the VERSION public. 2019-11-26 19:19:22 +01:00
Damir Jelić e9dfabf847 async_client: Add the event callbacks back. 2019-11-26 19:06:29 +01:00
Damir Jelić 4daea54a33 base_client: Consume sync responses and store the sync token. 2019-11-24 22:40:52 +01:00
Damir Jelić 3ab37ee8bd tests: Test the sync method of the async client. 2019-11-17 21:23:01 +01:00
Damir Jelić f246ab2f56 AsyncClient: Remove some dead code. 2019-11-17 19:59:50 +01:00
Damir Jelić d281efb309 AsyncClient: The use_sys_proxy setting is deprecated upstream. 2019-11-17 19:56:53 +01:00
Damir Jelić 88bfe1bec6 AsyncClient: Add the client version to the user-agent. 2019-11-17 19:55:59 +01:00
Damir Jelić 68102cc196 AsyncClient: Expose the logged_in method. 2019-11-17 19:55:27 +01:00
Damir Jelić 10b8d1a682 nio: Add scaffolding for member removals in the base client. 2019-11-14 20:18:31 +01:00
Damir Jelić 8d58938b41 nio-rust: Format the repo. 2019-11-10 18:33:06 +01:00
Damir Jelić 9e474a5cc2 nio: Add support for message sending in the AsyncClient. 2019-11-10 11:44:44 +01:00
Damir Jelić 2aca52c9f0 nio: Allow the AsyncClient to be clonable. 2019-11-10 11:44:03 +01:00
Damir Jelić 066d76cc8e nio: Make the callback futures Sync/Send. 2019-10-31 09:17:13 +01:00
Damir Jelić 71d8500453 nio: Reintroduce futures as callbacks. 2019-10-30 23:26:26 +01:00
Damir Jelić b61dc18060 nio: Allow callbacks to borrow the room, sadly back to non async callbacks. 2019-10-30 19:30:55 +01:00
Damir Jelić 69a18e9d3a async_client: Don't double pin futures. 2019-10-24 22:35:36 +02:00
Damir Jelić 8c681c362a async_client: Change the place where we parse the user agent. 2019-10-24 22:34:58 +02:00
Damir Jelić b8eb0489c7 base_client: Handle state events as well. 2019-10-23 23:36:57 +02:00
Damir Jelić f6d371b36f async_client: Remove the non-async callbacks. 2019-10-23 22:51:34 +02:00
Damir Jelić cf17173037 nio: Add initial base client state machine. 2019-10-23 22:47:00 +02:00
Damir Jelić 4989108324 Initial commit. 2019-10-20 13:56:46 +02:00