|
ImagingTools Core SDK
|
#include <IResponse.h>
Inherits imtrest::INetworkObject.
Inherited by imtrest::CHttpResponse [virtual], imtrest::CTcpResponse [virtual], and imtrest::CWebSocketResponse [virtual].
Public Member Functions | |
| virtual int | GetStatusCode () const =0 |
| virtual const QByteArray & | GetData () const =0 |
| virtual QByteArray | GetDataTypeId () const =0 |
| virtual Headers | GetHeaders () const =0 |
Common interface for the server's response. Each response consists of following sections: Status code. List of headers given as key-value pair in textual form. Reponse data, if provided.
Definition at line 27 of file IResponse.h.
|
pure virtual |
Get the data of the response.
|
pure virtual |
Get the type-ID of the response data.
|
pure virtual |
Get headers of the response object.
|
pure virtual |
Get the status code of the response.