EnginioReply QML Type | Enginio Manual 1.6

Qt 1.6 | Enginio Manual | QML Types | EnginioReply QML Type

Qt 1.6.2 Reference Documentation

# EnginioReply QML Type

A reply to any Enginio request. More...

Import Statement: | import Enginio 1.0
Since: | Qt 5.3

- List of all members, including inherited members

## Properties

- backendStatus : int
- data : QJSValue
- errorString : string
- errorType : Enginio::ErrorType
- isError : bool
- isFinished : bool
- networkError : QNetworkReply::NetworkError

## Detailed Description

The reply, when finished, contains information received from the server:

- Data - object, which is a result from an earlier request, see the data function
- Network status - in case of a network problem, additional information can be accessed through: errorType, errorString, networkError
- Backend status - a finished request is always associated with a backend status code, which is just an HTTP code, and it can be queried through backendStatus

## Property Documentation

backendStatus : int

The backend status code.

data : QJSValue

The data of this reply.

errorString : string

The error message if this reply was an error.

errorType : Enginio::ErrorType

The type of error (if any) of this reply.

isError : bool

The property holds `true` if this reply has finished with an error, `false` otherwise.

isFinished : bool

The property holds `true` if this reply is finished, `false` otherwise.

networkError : QNetworkReply::NetworkError

The network error (if any).