libQuotient
A Qt library for building matrix clients
Loading...
Searching...
No Matches
wellknown.h
Go to the documentation of this file.
1// THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
2
3#pragma once
4
5#include <Quotient/csapi/definitions/wellknown/full.h>
6
7#include <Quotient/jobs/basejob.h>
8
9namespace Quotient {
10
11//! \brief Gets Matrix server discovery information about the domain.
12//!
13//! Gets discovery information about the domain. The file may include
14//! additional keys, which MUST follow the Java package naming convention,
15//! e.g. `com.example.myapp.property`. This ensures property names are
16//! suitably namespaced for each application and reduces the risk of
17//! clashes.
18//!
19//! Note that this endpoint is not necessarily handled by the homeserver,
20//! but by another webserver, to be used for discovering the homeserver URL.
22public:
23 explicit GetWellknownJob();
24
25 //! \brief Construct a URL without creating a full-fledged job object
26 //!
27 //! This function can be used when a URL for GetWellknownJob
28 //! is necessary but the job itself isn't.
30
31 // Result properties
32
33 //! Server discovery information.
35};
36
37inline auto collectResponse(const GetWellknownJob* job) { return job->data(); }
38
39} // namespace Quotient
Gets Matrix server discovery information about the domain.
Definition wellknown.h:21
auto collectResponse(const GetAccountDataJob *job)
#define QUOTIENT_API