mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
Maxime “pep” Buquet
a59c618ed0
Implement XEP-0363 HTTP File Upload in xmpp-rs. The current interface is as is because of a limitation of our libraries. It is not possible to await on an IQ to get a result, so we have to workaround it by storing data on the Agent and fetching it back when we get the result. The client will have to first call `upload_file_with` and then listen on Event::HttpUploadedFile, which are decoupled actions, instead of awaiting on upload_file_with and getting the URL as a result directly. `upload_file_with` doesn't yet find the upload service by itself for the same reason as above. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> |
||
---|---|---|
.. | ||
examples | ||
src | ||
Cargo.toml | ||
ChangeLog | ||
LICENSE | ||
README.md |
xmpp
What's this?
A very much WIP rust XMPP library with the goals of being type-safe and well-tested.
Contact
There is an XMPP MUC for the discussion of this library, feel free to join! :)
License
Mozilla Public License 2 (MPL2). See the LICENSE file.