List of all members | Public Member Functions
QNetworkRequestProto Class Reference

#include <qnetworkrequestproto.h>

Inheritance diagram for QNetworkRequestProto:
QObject QScriptable

Public Member Functions

 QNetworkRequestProto (QObject *parent)
 
Q_INVOKABLE QVariant attribute (const QNetworkRequest::Attribute code, const QVariant &defaultValue=QVariant()) const
 
Q_INVOKABLE bool hasRawHeader (const QByteArray &headerName) const
 
Q_INVOKABLE QVariant header (QNetworkRequest::KnownHeaders header) const
 
Q_INVOKABLE QByteArray rawHeader (const QByteArray &headerName) const
 
Q_INVOKABLE QList< QByteArray > rawHeaderList () const
 
Q_INVOKABLE void setAttribute (QNetworkRequest::Attribute code, const QVariant &value)
 
Q_INVOKABLE void setHeader (QNetworkRequest::KnownHeaders header, const QVariant &value)
 
Q_INVOKABLE void setRawHeader (const QByteArray &headerName, const QByteArray &headerValue)
 
Q_INVOKABLE void setSslConfiguration (const QSslConfiguration &config)
 
Q_INVOKABLE void setUrl (const QUrl &url)
 
Q_INVOKABLE QSslConfiguration sslConfiguration () const
 
Q_INVOKABLE QString toString () const
 
Q_INVOKABLE QUrl url () const
 

Constructor & Destructor Documentation

◆ QNetworkRequestProto()

QNetworkRequestProto::QNetworkRequestProto ( QObject parent)

Member Function Documentation

◆ attribute()

QVariant QNetworkRequestProto::attribute ( const QNetworkRequest::Attribute  code,
const QVariant &  defaultValue = QVariant() 
) const

◆ hasRawHeader()

bool QNetworkRequestProto::hasRawHeader ( const QByteArray &  headerName) const

◆ header()

QVariant QNetworkRequestProto::header ( QNetworkRequest::KnownHeaders  header) const

◆ rawHeader()

QByteArray QNetworkRequestProto::rawHeader ( const QByteArray &  headerName) const

◆ rawHeaderList()

QList< QByteArray > QNetworkRequestProto::rawHeaderList ( ) const

◆ setAttribute()

void QNetworkRequestProto::setAttribute ( QNetworkRequest::Attribute  code,
const QVariant &  value 
)

◆ setHeader()

void QNetworkRequestProto::setHeader ( QNetworkRequest::KnownHeaders  header,
const QVariant &  value 
)

◆ setRawHeader()

void QNetworkRequestProto::setRawHeader ( const QByteArray &  headerName,
const QByteArray &  headerValue 
)

◆ setSslConfiguration()

void QNetworkRequestProto::setSslConfiguration ( const QSslConfiguration &  config)

◆ setUrl()

void QNetworkRequestProto::setUrl ( const QUrl &  url)

◆ sslConfiguration()

QSslConfiguration QNetworkRequestProto::sslConfiguration ( ) const

◆ toString()

QString QNetworkRequestProto::toString ( ) const

◆ url()

QUrl QNetworkRequestProto::url ( ) const

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17