libQuotient
A Qt library for building matrix clients
Loading...
Searching...
No Matches
homeserver.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/converters.h>
6
7namespace Quotient {
8//! Used by clients to discover homeserver information.
10 //! The base URL for the homeserver for client-server connections.
12};
13
14template <>
16 static void dumpTo(QJsonObject& jo, const HomeserverInformation& pod)
17 {
18 addParam(jo, "base_url"_L1, pod.baseUrl);
19 }
20 static void fillFrom(const QJsonObject& jo, HomeserverInformation& pod)
21 {
22 fillFromJson(jo.value("base_url"_L1), pod.baseUrl);
23 }
24};
25
26} // namespace Quotient
#define QUOTIENT_API
Used by clients to discover homeserver information.
Definition homeserver.h:9