matrix-rust-sdk/bindings
Thomas 95a471b0d2
ffi: Expose discovered sliding sync proxy URL (#3266)
Closes #3265.

There is currently no way to get the URL of a homeserver's sliding sync proxy before logging in on the homeserver.

I suggest exposing the URL via the `HomeserverLoginDetail` struct after configuring the homeserver (through `configure_homeserver`).

Since the homeserver may not declare a corresponding sliding sync proxy, this value is an `Optional`. It is used later in `configure_homeserver` to check if a sliding sync proxy exists and throws an error otherwise. Previously, this check was done against the client's `discovered_sliding_sync_proxy` function.

- [ ] Public API changes documented in changelogs (optional)

Signed-off-by: Thomas Völkl <thomas@vollkorntomate.de>
Signed-off-by: Benjamin Bouvier <public@benj.me>
Co-authored-by: Benjamin Bouvier <public@benj.me>
2024-03-22 17:21:24 +00:00
..
apple
matrix-sdk-crypto-ffi doc(crypto-ffi): `Device::first_time_seen_ts` has an incorrect unit. 2024-03-21 09:05:30 +01:00
matrix-sdk-ffi ffi: Expose discovered sliding sync proxy URL (#3266) 2024-03-22 17:21:24 +00:00
CONTRIBUTING.md
README.md

README.md

Matrix Rust SDK bindings

In this directory, one can find bindings to the Rust SDK that are maintained by the owners of the Matrix Rust SDK project.

There are also external bindings in other repositories:

Contributing

To contribute read this guide.