2021-01-15 21:07:23 +08:00
|
|
|
#include "qtcommon.h"
|
2020-10-14 08:37:03 +08:00
|
|
|
#include "network.h"
|
|
|
|
|
2021-01-15 21:07:23 +08:00
|
|
|
namespace DevTools
|
|
|
|
{
|
2021-01-16 00:32:23 +08:00
|
|
|
void Start(const std::wstring& path, std::function<void(QString)> statusChanged, bool headless);
|
2021-01-15 21:07:23 +08:00
|
|
|
void Close();
|
|
|
|
bool Connected();
|
|
|
|
JSON::Value<wchar_t> SendRequest(const std::wstring& method, const std::wstring& params = L"{}");
|
|
|
|
}
|