#include <PhosphorIpc/phosphoripc_export.h>#include <QByteArray>#include <QJsonObject>#include <QJsonValue>#include <QString>#include <QVariant>#include <QVariantList>#include <optional>Go to the source code of this file.
Classes | |
| struct | PhosphorIpc::Request |
Namespaces | |
| namespace | PhosphorIpc |
| namespace | PhosphorIpc::Field |
| namespace | PhosphorIpc::RequestType |
| namespace | PhosphorIpc::ResponseType |
| namespace | PhosphorIpc::ErrorCode |
Functions | |
| PHOSPHORIPC_EXPORT std::optional< Request > | PhosphorIpc::parseRequest (const QByteArray &line, QString *parseError) |
| PHOSPHORIPC_EXPORT QJsonObject | PhosphorIpc::buildReply (qint64 id, const QJsonValue &result) |
| PHOSPHORIPC_EXPORT QJsonObject | PhosphorIpc::buildEvent (qint64 subscriptionId, const QJsonValue &args) |
| PHOSPHORIPC_EXPORT QJsonObject | PhosphorIpc::buildEvent (const QString &target, const QString &signalName, const QJsonValue &args) |
| PHOSPHORIPC_EXPORT QJsonObject | PhosphorIpc::buildError (qint64 id, const QString &code, const QString &message, const QJsonObject &detail={}) |
| PHOSPHORIPC_EXPORT QByteArray | PhosphorIpc::writeLine (const QJsonObject &obj) |
| PHOSPHORIPC_EXPORT QJsonValue | PhosphorIpc::variantToJson (const QVariant &v) |