2#include <ossia/network/context.hpp>
3#include <ossia/network/http/http_client.hpp>
5#include <ossia-qt/protocols/utils.hpp>
6#include <ossia-qt/qml_protocols.hpp>
13struct qml_protocols_http_answer;
14struct qml_protocols_http_error;
16 = ossia::net::http_get_request<qml_protocols_http_answer, qml_protocols_http_error>;
18struct qml_protocols_http_answer
20 static constexpr int reserve_expect = 65536 * 8;
21 QPointer<qml_protocols> self{};
23 void operator()(
auto& req, std::string_view str)
25 ossia::qt::run_async(self.get(), [self = self, v = v, s = QString::fromUtf8(str)] {
32struct qml_protocols_http_error
34 void operator()(
auto& self) { }
Definition qml_device.cpp:43