ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Networking::ErrorResponse Struct Reference

ErrorResponse is a struct to be returned from Request to user's failure callbacks. More...

#include <request.h>

Collaboration diagram for Networking::ErrorResponse:

List of all members.

Public Member Functions

 ErrorResponse (Request *rq)
 ErrorResponse (Request *rq, bool interrupt, bool failure, Common::String resp, long httpCode)

Public Attributes

Requestrequest
bool interrupted
bool failed
Common::String response
long httpResponseCode

Detailed Description

ErrorResponse is a struct to be returned from Request to user's failure callbacks.

It keeps a Request pointer together with some useful information fields, which would explain why failure callback was called.

<interrupted> flag is set when Request was interrupted, i.e. finished by user with finish() call.

<failed> flag is set when Request has failed because of some error (bad server response, for example).

<response> contains server's original response.

<httpResponseCode> contains server's HTTP response code.

Definition at line 74 of file request.h.


Constructor & Destructor Documentation

Networking::ErrorResponse::ErrorResponse ( Request rq  ) 

Definition at line 27 of file request.cpp.

Networking::ErrorResponse::ErrorResponse ( Request rq,
bool  interrupt,
bool  failure,
Common::String  resp,
long  httpCode 
)

Definition at line 30 of file request.cpp.


Member Data Documentation

Definition at line 77 of file request.h.

Definition at line 79 of file request.h.

Definition at line 76 of file request.h.


The documentation for this struct was generated from the following files:


Generated on Sat Mar 23 2019 05:08:49 for ResidualVM by doxygen 1.7.1
curved edge   curved edge