• NetworkAccessManagerImpl
  • NetworkAccessManagerImpl Class

    (nymeaserver::NetworkAccessManagerImpl)

    Allows to send network requests and receive replies. More...

    Header: #include <NetworkAccessManagerImpl>
    Inherits: NetworkAccessManager

    Public Functions

    NetworkAccessManagerImpl(QNetworkAccessManager * networkManager, QObject * parent = nullptr)

    Reimplemented Public Functions

    virtual bool available() const
    virtual QNetworkReply * deleteResource(const QNetworkRequest & request)
    virtual bool enabled() const
    virtual QNetworkReply * get(const QNetworkRequest & request)
    virtual QNetworkReply * head(const QNetworkRequest & request)
    virtual QNetworkReply * post(const QNetworkRequest & request, QIODevice * data)
    virtual QNetworkReply * post(const QNetworkRequest & request, const QByteArray & data)
    virtual QNetworkReply * post(const QNetworkRequest & request, QHttpMultiPart * multiPart)
    virtual QNetworkReply * put(const QNetworkRequest & request, QIODevice * data)
    virtual QNetworkReply * put(const QNetworkRequest & request, const QByteArray & data)
    virtual QNetworkReply * put(const QNetworkRequest & request, QHttpMultiPart * multiPart)
    virtual QNetworkReply * sendCustomRequest(const QNetworkRequest & request, const QByteArray & verb, QIODevice * data = nullptr)

    Reimplemented Protected Functions

    virtual void setEnabled(bool enabled)

    Additional Inherited Members

    Detailed Description

    Allows to send network requests and receive replies.

    The network manager class is a reimplementation of the QNetworkAccessManager and allows plugins to send network requests and receive replies.

    Member Function Documentation

    NetworkAccessManagerImpl::NetworkAccessManagerImpl(QNetworkAccessManager * networkManager, QObject * parent = nullptr)

    Construct the hardware resource NetworkAccessManagerImpl with the given parent.

    [virtual] bool NetworkAccessManagerImpl::available() const

    [virtual] QNetworkReply * NetworkAccessManagerImpl::deleteResource(const QNetworkRequest & request)

    [virtual] bool NetworkAccessManagerImpl::enabled() const

    See also setEnabled().

    [virtual] QNetworkReply * NetworkAccessManagerImpl::get(const QNetworkRequest & request)

    [virtual] QNetworkReply * NetworkAccessManagerImpl::post(const QNetworkRequest & request, QIODevice * data)

    [virtual] QNetworkReply * NetworkAccessManagerImpl::post(const QNetworkRequest & request, const QByteArray & data)

    [virtual] QNetworkReply * NetworkAccessManagerImpl::post(const QNetworkRequest & request, QHttpMultiPart * multiPart)

    [virtual] QNetworkReply * NetworkAccessManagerImpl::put(const QNetworkRequest & request, QIODevice * data)

    [virtual] QNetworkReply * NetworkAccessManagerImpl::put(const QNetworkRequest & request, const QByteArray & data)

    [virtual] QNetworkReply * NetworkAccessManagerImpl::put(const QNetworkRequest & request, QHttpMultiPart * multiPart)

    [virtual] QNetworkReply * NetworkAccessManagerImpl::sendCustomRequest(const QNetworkRequest & request, const QByteArray & verb, QIODevice * data = nullptr)

    [virtual protected] void NetworkAccessManagerImpl::setEnabled(bool enabled)

    See also enabled().