| 1 | mtxclient {#mainpage} |
| 2 | ===================== |
| 3 | |
| 4 | mtxclient is a library for the [Matrix protocol](https://matrix.org/) used |
| 5 | primarily in the [Nheko client](https://nheko.im/nheko-reborn/nheko). This |
| 6 | library is not a full SDK. Rather it is a thin wrapper providing functions and |
| 7 | data structures to access the [Client-Server |
| 8 | API](https://matrix.org/docs/spec/client_server/latest). Most of the semantics |
| 9 | are described there and this library provides similarly named types and function |
| 10 | to invoke those endpoints. |
| 11 | |
| 12 | mtxclient is built on top of |
| 13 | [curl](https://curl.se/libcurl/) and |
| 14 | [nlohmann/json](https://github.com/nlohmann/json). Many of the data structures |
| 15 | in this library can be serialized to and deserialized from JSON. Most endpoints |
| 16 | use a callback to inform the caller, if the request completed and what the |
| 17 | response was. |
| 18 | |
| 19 | ## Building |
| 20 | |
| 21 | For build instructions please refer to the [README](README.md). |