QtRestClient
3.0.0
A library for generic JSON-based REST-APIs, with a mechanism to map JSON to Qt objects
|
The QML version of QtRestClient::GenericRestReply. More...
#include <qmlgenericrestreply.h>
Public Slots | |
void | addCompletedHandler (const QJSValue &completedHandler) |
Add a method to be called when the request has been completed. More... | |
void | addSucceededHandler (const QJSValue &succeededHandler) |
Add a method to be called when the request has been completed successfully. More... | |
void | addFailedHandler (const QJSValue &failedHandler) |
Add a method to be called if the request has failed. More... | |
void | addErrorHandler (const QJSValue &errorHandler) |
Add a method to be called if an error occured. More... | |
Properties | |
QtRestClient::RestReply | reply |
The original QtRestClient::RestReply that this one wrapps. More... | |
QString | returnType |
The primary reply type returned by this request. More... | |
QString | errorType |
The error reply type returned by this request. More... | |
The QML version of QtRestClient::GenericRestReply.
This is a special version that is only used by classes generated by qrestbuilder
Definition at line 23 of file qmlgenericrestreply.h.
|
slot |
Add a method to be called when the request has been completed.
completedHandler | a JS callback to be called with the reply |
The handlers arguments are:
|
slot |
Add a method to be called if an error occured.
errorHandler | a JS callback to be called with the reply |
The handlers arguments are:
|
slot |
Add a method to be called if the request has failed.
failedHandler | a JS callback to be called with the reply |
The handlers arguments are:
|
slot |
Add a method to be called when the request has been completed successfully.
succeededHandler | a JS callback to be called with the reply |
The handlers arguments are:
|
read |
The error reply type returned by this request.
Default: auto
Accessors | |
---|---|
MEMBER | errorType |
READ ONLY |
Definition at line 59 of file qmlgenericrestreply.h.
QtRestClient::RestReply de::skycoder42::QtRestClient::GenericRestReply::reply |
The original QtRestClient::RestReply that this one wrapps.
Default: auto
Accessors | |
---|---|
MEMBER | reply |
READ ONLY |
Definition at line 41 of file qmlgenericrestreply.h.
|
read |
The primary reply type returned by this request.
Default: auto
Accessors | |
---|---|
MEMBER | returnType |
READ ONLY |
Definition at line 50 of file qmlgenericrestreply.h.