QNetworkAccessManager

#include <QtNetwork/QNetworkAccessManager>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QNetworkAccessManager


Overview

Properties Index

NetworkAccessibilitynetworkAccessible

Public Functions Index

QNetworkAccessManager (QObject *parent=0)
~QNetworkAccessManager ()
QNetworkConfigurationactiveConfiguration () const
QAbstractNetworkCache *cache () const
QNetworkConfigurationconfiguration () const
QNetworkCookieJar *cookieJar () const
QNetworkReply *deleteResource (const QNetworkRequest &request)
QNetworkReply *get (const QNetworkRequest &request)
QNetworkReply *head (const QNetworkRequest &request)
NetworkAccessibilitynetworkAccessible () const
QNetworkReply *post (const QNetworkRequest &request, QIODevice *data)
QNetworkReply *post (const QNetworkRequest &request, const QByteArray &data)
QNetworkReply *post (const QNetworkRequest &request, QHttpMultiPart *multiPart)
QNetworkProxyproxy () const
QNetworkProxyFactory *proxyFactory () const
QNetworkReply *put (const QNetworkRequest &request, QIODevice *data)
QNetworkReply *put (const QNetworkRequest &request, const QByteArray &data)
QNetworkReply *put (const QNetworkRequest &request, QHttpMultiPart *multiPart)
QNetworkReply *sendCustomRequest (const QNetworkRequest &request, const QByteArray &verb, QIODevice *data=0)
voidsetCache (QAbstractNetworkCache *cache)
voidsetConfiguration (const QNetworkConfiguration &config)
voidsetCookieJar (QNetworkCookieJar *cookieJar)
voidsetNetworkAccessible (NetworkAccessibility accessible)
voidsetProxy (const QNetworkProxy &proxy)
voidsetProxyFactory (QNetworkProxyFactory *factory)

Protected Functions Index

virtual QNetworkReply *createRequest (Operation op, const QNetworkRequest &request, QIODevice *outgoingData=0)

Signals Index

voidauthenticationRequired (QNetworkReply *reply, QAuthenticator *authenticator)
voidfinished (QNetworkReply *reply)
voidnetworkAccessibleChanged (QNetworkAccessManager::NetworkAccessibility accessible)
voidnetworkSessionConnected ()
voidproxyAuthenticationRequired (const QNetworkProxy &proxy, QAuthenticator *authenticator)
voidsslErrors (QNetworkReply *reply, const QList< QSslError > &errors)

Public Types

NetworkAccessibility

UnknownAccessibility -1
NotAccessible 0
Accessible 1

Operation

HeadOperation 1
GetOperation
PutOperation
PostOperation
DeleteOperation
CustomOperation
UnknownOperation 0

Properties

NetworkAccessibility networkAccessible

Public Functions

QNetworkAccessManager (

~QNetworkAccessManager ()

Destructor.

QNetworkConfiguration activeConfiguration ()

QNetworkConfiguration configuration ()

QNetworkCookieJar * cookieJar ()

QNetworkReply * deleteResource (

QNetworkReply * get (

QNetworkReply * head (

NetworkAccessibility networkAccessible ()

QNetworkReply * post (

QNetworkReply * post (

QNetworkReply * post (

QNetworkProxy proxy ()

QNetworkProxyFactory * proxyFactory ()

QNetworkReply * put (

QNetworkReply * put (

QNetworkReply * put (

QNetworkReply * sendCustomRequest (

void setCache (

void setConfiguration (

void setCookieJar (

void setNetworkAccessible (
  • NetworkAccessibilityaccessible)

void setProxy (

void setProxyFactory (

Protected Functions

virtualQNetworkReply * createRequest (

Signals

void authenticationRequired (

void finished (

void networkAccessibleChanged (
  • QNetworkAccessManager::NetworkAccessibilityaccessible)

void networkSessionConnected ()

void proxyAuthenticationRequired (

void sslErrors (

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus