CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
CFxNANetworkAccessManager Class Reference

#include <FxNANetworkAccessManager.h>

Inheritance diagram for CFxNANetworkAccessManager:
CFxUIObject

Public Types

enum  Operation {
  HeadOperation = 1 , GetOperation , PutOperation , PostOperation ,
  DeleteOperation , CustomOperation , UnknownOperation = 0
}
 

Public Member Functions

 CFxNANetworkAccessManager ()
 
 ~CFxNANetworkAccessManager ()
 
CFxNANetworkReplyget (const CFxNANetworkRequest &request)
 
CFxNANetworkReplypost (const CFxNANetworkRequest &request, const CFxNAByteArray &data)
 
CFxNANetworkReplyput (const CFxNANetworkRequest &request, const CFxNAByteArray &data)
 
CFxNANetworkReplydeleteResource (const CFxNANetworkRequest &request)
 
- Public Member Functions inherited from CFxUIObject
 CFxUIObject ()
 
virtual ~CFxUIObject ()
 
FxNativeHandle getHandle () const
 
void setHandle (FxNativeHandle handle)
 
void setParent (CFxUIObject *parent)
 
CFxUIObjectparent ()
 
const CFxUIObjectparent () const
 
void setObjectName (const CFxUIString &objectName)
 
CFxUIString objectName () const
 
bool setProperty (const char *name, const CFxUIVariant &value)
 
CFxUIVariant property (const char *name)
 
CFxUIList< CFxUIObject * > children () const
 
template<typename T>
CFxUIList< T > findChildren (const CFxUIString &name=CFxUIString())
 
void blockSignals (bool block)
 
bool signalsBlocked () const
 

Additional Inherited Members

- Protected Member Functions inherited from CFxUIObject
CFxUIObjectsender ()
 
- Protected Attributes inherited from CFxUIObject
CFxUIObjectImpl * m_pImpl
 
CFxUIObjectData * m_pData
 

Detailed Description

Class CFxNANetworkAccessManager class allows the application to send network requests and receive replies.

Definition at line 34 of file FxNANetworkAccessManager.h.

Member Enumeration Documentation

◆ Operation

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.

Constructor & Destructor Documentation

◆ CFxNANetworkAccessManager()

CFxNANetworkAccessManager::CFxNANetworkAccessManager ( )

Constructor

◆ ~CFxNANetworkAccessManager()

CFxNANetworkAccessManager::~CFxNANetworkAccessManager ( )

Destructor

Member Function Documentation

◆ deleteResource()

CFxNANetworkReply * CFxNANetworkAccessManager::deleteResource ( const CFxNANetworkRequest & request)

Sends a request to delete the resource identified by the URL of request.

Parameters
requestInput
Returns
CFxNANetworkReply

◆ get()

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.

Parameters
requestInput
Returns
CFxNANetworkReply

◆ post()

CFxNANetworkReply * CFxNANetworkAccessManager::post ( const CFxNANetworkRequest & request,
const CFxNAByteArray & data )

This is an overloaded function.

Parameters
requestInput
dataSends the contents of the data byte array to the destination specified by request.
Returns
CFxNANetworkReply

◆ put()

CFxNANetworkReply * CFxNANetworkAccessManager::put ( const CFxNANetworkRequest & request,
const CFxNAByteArray & data )

This is an overloaded function.

Parameters
requestInput
dataSends the contents of the data byte array to the destination specified by request.
Returns
CFxNANetworkReply

The documentation for this class was generated from the following file: