update documentation

Signed-off-by: iTrooz <hey@itrooz.fr>
This commit is contained in:
iTrooz
2025-01-25 20:22:09 +01:00
parent 7c82cd82d7
commit b06c4341d8
2 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,6 @@ void McClient::sendRequest() {
writePacketToSocket(data); // send status packet
}
// Accumulate data until we have a full response, then call parseResponse() once
void McClient::readRawResponse() {
if (m_responseReadState == 2) {
return;

View File

@ -24,9 +24,11 @@ class McClient : public QObject {
public:
explicit McClient(QObject *parent, QString domain, QString ip, short port);
//! Read status data of the server, and calls the succeeded() signal with the parsed JSON data
void getStatusData();
private:
void sendRequest();
//! Accumulate data until we have a full response, then call parseResponse() once
void readRawResponse();
void parseResponse();