2023-02-22 01:48:49 +03:00
|
|
|
// SPDX-FileCopyrightText: Nheko Contributors
|
2021-03-05 02:35:15 +03:00
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2017-05-16 21:46:45 +03:00
|
|
|
#pragma once
|
2017-04-06 02:06:42 +03:00
|
|
|
|
2018-06-09 16:03:14 +03:00
|
|
|
#include <mtxclient/http/client.hpp>
|
2018-05-16 20:40:42 +03:00
|
|
|
|
2021-11-21 07:04:48 +03:00
|
|
|
#include "Logging.h"
|
|
|
|
|
2018-05-08 18:43:56 +03:00
|
|
|
namespace http {
|
2018-06-09 16:03:14 +03:00
|
|
|
mtx::http::Client *
|
2018-05-08 18:43:56 +03:00
|
|
|
client();
|
2018-06-10 20:03:45 +03:00
|
|
|
|
|
|
|
bool
|
|
|
|
is_logged_in();
|
2018-05-16 20:40:42 +03:00
|
|
|
|
2018-06-09 16:03:14 +03:00
|
|
|
//! Initialize the http module
|
|
|
|
void
|
|
|
|
init();
|
2018-05-16 20:40:42 +03:00
|
|
|
}
|