|
QNetworkAccessManager * | manager |
|
AbstractHTTPClient::AbstractHTTPClient |
( |
QString & |
bURL, |
|
|
QString |
user, |
|
|
QString |
pass, |
|
|
QObject * |
parent = 0 |
|
) |
| |
|
explicit |
QString AbstractHTTPClient::baseURL |
( |
| ) |
|
QNetworkReply * AbstractHTTPClient::doAsyncGet |
( |
QString & |
url | ) |
|
|
protected |
AbstractHTTPClient::doAsyncGet Asynchronous get operation.
Performs a do asynchronous get operation.
- Parameters
-
url | a string that represents the do asynchronous get operation. |
- Returns
- returns a QNetworkReply.
QNetworkReply * AbstractHTTPClient::doAsyncGet |
( |
QString & |
url, |
|
|
const char * |
accept |
|
) |
| |
|
protected |
AbstractHTTPClient::doAsyncGet Asynchronous get operation.
Performs a do asynchronous get operation.
- Parameters
-
url | a string that represents the do asynchronous get operation. |
accept. | |
- Returns
- returns a QNetworkReply.
QByteArray AbstractHTTPClient::doDelete |
( |
QString & |
url | ) |
|
|
protected |
AbstractHTTPClient::doDelete Delete operation.
Performs a request with a do Delete operation.
- Parameters
-
url | a string that represents the do Delete operation |
- Returns
- returns a QByteArray.
QByteArray AbstractHTTPClient::doGet |
( |
QString & |
url | ) |
|
|
protected |
AbstractHTTPClient::doGet HTTP gets operation.
Performs HTTP gets operation.
- Parameters
-
url | a string that represents the URL |
- Returns
- returns QByteArray.
QByteArray AbstractHTTPClient::doPost |
( |
QString & |
url, |
|
|
QByteArray & |
content |
|
) |
| |
|
protected |
AbstractHTTPClient::doPost Post operation.
Performs Post operations.
- Parameters
-
url | a string that represents the HTTP post operation. |
content | a QByteArray. |
- Returns
- returns a QByteArray.
QByteArray AbstractHTTPClient::doPut |
( |
QString & |
url, |
|
|
QByteArray & |
content |
|
) |
| |
|
protected |
AbstractHTTPClient::doPut Put operation.
Performs Put operations.
- Parameters
-
url | a string that represents the HTTP put operation. |
content | a QByteArray. |
- Returns
- returns a QByteArray.
void AbstractHTTPClient::prepareRequest |
( |
QNetworkRequest & |
request | ) |
|
|
protected |
void AbstractHTTPClient::setContentType |
( |
QString & |
str | ) |
|
AbstractHTTPClient::setContentType Sets the MIME type.
Sets the MIME type for HTTP responses (e.g. application/xml).
- Parameters
-
str | a string that represents the MIME type. |
void AbstractHTTPClient::setPassword |
( |
QString & |
str | ) |
|
void AbstractHTTPClient::setUserName |
( |
QString & |
str | ) |
|
The documentation for this class was generated from the following files: