xmpp-rs/xmpp
Maxime “pep” Buquet a59c618ed0 xmpp: HTTP File Upload
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>
2022-04-18 12:10:55 +02:00
..
examples Remove the -rs suffix of jid, minidom and xmpp 2020-06-22 02:17:32 +02:00
src xmpp: HTTP File Upload 2022-04-18 12:10:55 +02:00
Cargo.toml xmpp: HTTP File Upload 2022-04-18 12:10:55 +02:00
ChangeLog Finish removing 'rs' suffix in libs 2020-07-15 10:49:50 +02:00
LICENSE Remove the -rs suffix of jid, minidom and xmpp 2020-06-22 02:17:32 +02:00
README.md Finish removing 'rs' suffix in libs 2020-07-15 10:49:50 +02:00

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! :)

chat@xmpp.rs

License

Mozilla Public License 2 (MPL2). See the LICENSE file.