#include <NetworkResult.hpp>
◆ NetworkResult()
| chatterino::NetworkResult::NetworkResult |
( |
const QByteArray & |
data, |
|
|
int |
status |
|
) |
| |
◆ getData()
| const QByteArray & chatterino::NetworkResult::getData |
( |
| ) |
const |
◆ parseJson()
| QJsonObject chatterino::NetworkResult::parseJson |
( |
| ) |
const |
Parses the result as json and returns the root as an object. Returns empty object if parsing failed.
◆ parseJsonArray()
| QJsonArray chatterino::NetworkResult::parseJsonArray |
( |
| ) |
const |
Parses the result as json and returns the root as an array. Returns empty object if parsing failed.
◆ parseRapidJson()
| rapidjson::Document chatterino::NetworkResult::parseRapidJson |
( |
| ) |
const |
Parses the result as json and returns the document.
◆ status()
| int chatterino::NetworkResult::status |
( |
| ) |
const |
◆ timedoutStatus
| constexpr int chatterino::NetworkResult::timedoutStatus = -2 |
|
static |
The documentation for this class was generated from the following files: