|
CFx SDK Documentation 2026 SP0
|
#include <FxNANetworkAccessManager.h>
Public Types | |
| enum | Operation { HeadOperation = 1 , GetOperation , PutOperation , PostOperation , DeleteOperation , CustomOperation , UnknownOperation = 0 } |
Additional Inherited Members | |
Protected Member Functions inherited from CFxUIObject | |
| CFxUIObject * | sender () |
Protected Attributes inherited from CFxUIObject | |
| CFxUIObjectImpl * | m_pImpl |
| CFxUIObjectData * | m_pData |
Class CFxNANetworkAccessManager class allows the application to send network requests and receive replies.
Definition at line 34 of file FxNANetworkAccessManager.h.
This enum type indicates the operation this reply is processing.
| Enumerator | |
|---|---|
| HeadOperation | retrieve headers operation (created with head()) |
| GetOperation | retrieve headers and download contents (created with get()) |
| PutOperation | upload contents operation (created with put()) |
| PostOperation | send the contents of an HTML form for processing via HTTP POST (created with post()) |
| DeleteOperation | delete contents operation (created with deleteResource()) |
| CustomOperation | custom operation (created with sendCustomRequest()) |
| UnknownOperation | |
Definition at line 40 of file FxNANetworkAccessManager.h.
| CFxNANetworkAccessManager::CFxNANetworkAccessManager | ( | ) |
Constructor
| CFxNANetworkAccessManager::~CFxNANetworkAccessManager | ( | ) |
Destructor
| CFxNANetworkReply * CFxNANetworkAccessManager::deleteResource | ( | const CFxNANetworkRequest & | request | ) |
Sends a request to delete the resource identified by the URL of request.
| request | Input |
| CFxNANetworkReply * CFxNANetworkAccessManager::get | ( | const CFxNANetworkRequest & | request | ) |
Posts a request to obtain the contents of the target request and returns a new CFxNetworkReply object opened for reading which emits the readyRead() signal whenever new data arrives.
| request | Input |
| CFxNANetworkReply * CFxNANetworkAccessManager::post | ( | const CFxNANetworkRequest & | request, |
| const CFxNAByteArray & | data ) |
This is an overloaded function.
| request | Input |
| data | Sends the contents of the data byte array to the destination specified by request. |
| CFxNANetworkReply * CFxNANetworkAccessManager::put | ( | const CFxNANetworkRequest & | request, |
| const CFxNAByteArray & | data ) |
This is an overloaded function.
| request | Input |
| data | Sends the contents of the data byte array to the destination specified by request. |