Notation used in Ruby API documentation
Module: QtNetwork
Description: Binding of QNetworkRequest
Sub-classes: Attribute, QFlags_Attribute, KnownHeaders, QFlags_KnownHeaders
new QNetworkRequest | new | (const QUrl url = QUrl()) | Constructor QNetworkRequest::QNetworkRequest(const QUrl &url) |
new QNetworkRequest | new | (const QNetworkRequest other) | Constructor QNetworkRequest::QNetworkRequest(const QNetworkRequest &other) |
[const] | bool | != | (const QNetworkRequest other) | Method bool QNetworkRequest::operator!=(const QNetworkRequest &other) |
[const] | bool | == | (const QNetworkRequest other) | Method bool QNetworkRequest::operator==(const QNetworkRequest &other) |
void | _assign | (const QNetworkRequest other) | Assigns another object to self | |
[const] | QNetworkRequest ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
QNetworkRequest | assign | (const QNetworkRequest other) | Method QNetworkRequest &QNetworkRequest::operator=(const QNetworkRequest &other) | |
[const] | variant | attribute | (const QNetworkRequest_Attribute code, variant defaultValue = QVariant()) | Method QVariant QNetworkRequest::attribute(QNetworkRequest::Attribute code, const QVariant &defaultValue) |
[const] | new QNetworkRequest ptr | dup | Creates a copy of self | |
[const] | bool | hasRawHeader | (bytes headerName) | Method bool QNetworkRequest::hasRawHeader(const QByteArray &headerName) |
[const] | variant | header | (const QNetworkRequest_KnownHeaders header) | Method QVariant QNetworkRequest::header(QNetworkRequest::KnownHeaders header) |
[const] | QObject ptr | originatingObject | Method QObject *QNetworkRequest::originatingObject() | |
void | originatingObject= | (QObject ptr object) | Method void QNetworkRequest::setOriginatingObject(QObject *object) | |
[const] | bytes | rawHeader | (bytes headerName) | Method QByteArray QNetworkRequest::rawHeader(const QByteArray &headerName) |
[const] | bytes[] | rawHeaderList | Method QList<QByteArray> QNetworkRequest::rawHeaderList() | |
void | setAttribute | (const QNetworkRequest_Attribute code, variant value) | Method void QNetworkRequest::setAttribute(QNetworkRequest::Attribute code, const QVariant &value) | |
void | setHeader | (const QNetworkRequest_KnownHeaders header, variant value) | Method void QNetworkRequest::setHeader(QNetworkRequest::KnownHeaders header, const QVariant &value) | |
void | setOriginatingObject | (QObject ptr object) | Method void QNetworkRequest::setOriginatingObject(QObject *object) | |
void | setRawHeader | (bytes headerName, bytes value) | Method void QNetworkRequest::setRawHeader(const QByteArray &headerName, const QByteArray &value) | |
void | setSslConfiguration | (const QSslConfiguration configuration) | Method void QNetworkRequest::setSslConfiguration(const QSslConfiguration &configuration) | |
void | setUrl | (const QUrl url) | Method void QNetworkRequest::setUrl(const QUrl &url) | |
[const] | QSslConfiguration | sslConfiguration | Method QSslConfiguration QNetworkRequest::sslConfiguration() | |
void | sslConfiguration= | (const QSslConfiguration configuration) | Method void QNetworkRequest::setSslConfiguration(const QSslConfiguration &configuration) | |
[const] | QUrl | url | Method QUrl QNetworkRequest::url() | |
void | url= | (const QUrl url) | Method void QNetworkRequest::setUrl(const QUrl &url) |
[static,const] | QNetworkRequest_Attribute | CacheLoadControlAttribute | Enum constant QNetworkRequest::CacheLoadControlAttribute | |
[static,const] | QNetworkRequest_Attribute | CacheSaveControlAttribute | Enum constant QNetworkRequest::CacheSaveControlAttribute | |
[static,const] | QNetworkRequest_Attribute | ConnectionEncryptedAttribute | Enum constant QNetworkRequest::ConnectionEncryptedAttribute | |
[static,const] | QNetworkRequest_KnownHeaders | ContentLengthHeader | Enum constant QNetworkRequest::ContentLengthHeader | |
[static,const] | QNetworkRequest_KnownHeaders | ContentTypeHeader | Enum constant QNetworkRequest::ContentTypeHeader | |
[static,const] | QNetworkRequest_KnownHeaders | CookieHeader | Enum constant QNetworkRequest::CookieHeader | |
[static,const] | QNetworkRequest_Attribute | DoNotBufferUploadDataAttribute | Enum constant QNetworkRequest::DoNotBufferUploadDataAttribute | |
[static,const] | QNetworkRequest_Attribute | HttpPipeliningAllowedAttribute | Enum constant QNetworkRequest::HttpPipeliningAllowedAttribute | |
[static,const] | QNetworkRequest_Attribute | HttpPipeliningWasUsedAttribute | Enum constant QNetworkRequest::HttpPipeliningWasUsedAttribute | |
[static,const] | QNetworkRequest_Attribute | HttpReasonPhraseAttribute | Enum constant QNetworkRequest::HttpReasonPhraseAttribute | |
[static,const] | QNetworkRequest_Attribute | HttpStatusCodeAttribute | Enum constant QNetworkRequest::HttpStatusCodeAttribute | |
[static,const] | QNetworkRequest_KnownHeaders | LastModifiedHeader | Enum constant QNetworkRequest::LastModifiedHeader | |
[static,const] | QNetworkRequest_KnownHeaders | LocationHeader | Enum constant QNetworkRequest::LocationHeader | |
[static,const] | QNetworkRequest_Attribute | RedirectionTargetAttribute | Enum constant QNetworkRequest::RedirectionTargetAttribute | |
[static,const] | QNetworkRequest_KnownHeaders | SetCookieHeader | Enum constant QNetworkRequest::SetCookieHeader | |
[static,const] | QNetworkRequest_Attribute | SourceIsFromCacheAttribute | Enum constant QNetworkRequest::SourceIsFromCacheAttribute | |
[static,const] | QNetworkRequest_Attribute | User | Enum constant QNetworkRequest::User | |
[static,const] | QNetworkRequest_Attribute | UserMax | Enum constant QNetworkRequest::UserMax |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | destroyed? | Use of this method is deprecated. Use _destroyed? instead | |
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
!= | Signature: [const] bool != (const QNetworkRequest other) Description: Method bool QNetworkRequest::operator!=(const QNetworkRequest &other) |
== | Signature: [const] bool == (const QNetworkRequest other) Description: Method bool QNetworkRequest::operator==(const QNetworkRequest &other) |
CacheLoadControlAttribute | Signature: [static,const] QNetworkRequest_Attribute CacheLoadControlAttribute Description: Enum constant QNetworkRequest::CacheLoadControlAttribute Python specific notes: |
CacheSaveControlAttribute | Signature: [static,const] QNetworkRequest_Attribute CacheSaveControlAttribute Description: Enum constant QNetworkRequest::CacheSaveControlAttribute Python specific notes: |
ConnectionEncryptedAttribute | Signature: [static,const] QNetworkRequest_Attribute ConnectionEncryptedAttribute Description: Enum constant QNetworkRequest::ConnectionEncryptedAttribute Python specific notes: |
ContentLengthHeader | Signature: [static,const] QNetworkRequest_KnownHeaders ContentLengthHeader Description: Enum constant QNetworkRequest::ContentLengthHeader Python specific notes: |
ContentTypeHeader | Signature: [static,const] QNetworkRequest_KnownHeaders ContentTypeHeader Description: Enum constant QNetworkRequest::ContentTypeHeader Python specific notes: |
CookieHeader | Signature: [static,const] QNetworkRequest_KnownHeaders CookieHeader Description: Enum constant QNetworkRequest::CookieHeader Python specific notes: |
DoNotBufferUploadDataAttribute | Signature: [static,const] QNetworkRequest_Attribute DoNotBufferUploadDataAttribute Description: Enum constant QNetworkRequest::DoNotBufferUploadDataAttribute Python specific notes: |
HttpPipeliningAllowedAttribute | Signature: [static,const] QNetworkRequest_Attribute HttpPipeliningAllowedAttribute Description: Enum constant QNetworkRequest::HttpPipeliningAllowedAttribute Python specific notes: |
HttpPipeliningWasUsedAttribute | Signature: [static,const] QNetworkRequest_Attribute HttpPipeliningWasUsedAttribute Description: Enum constant QNetworkRequest::HttpPipeliningWasUsedAttribute Python specific notes: |
HttpReasonPhraseAttribute | Signature: [static,const] QNetworkRequest_Attribute HttpReasonPhraseAttribute Description: Enum constant QNetworkRequest::HttpReasonPhraseAttribute Python specific notes: |
HttpStatusCodeAttribute | Signature: [static,const] QNetworkRequest_Attribute HttpStatusCodeAttribute Description: Enum constant QNetworkRequest::HttpStatusCodeAttribute Python specific notes: |
LastModifiedHeader | Signature: [static,const] QNetworkRequest_KnownHeaders LastModifiedHeader Description: Enum constant QNetworkRequest::LastModifiedHeader Python specific notes: |
LocationHeader | Signature: [static,const] QNetworkRequest_KnownHeaders LocationHeader Description: Enum constant QNetworkRequest::LocationHeader Python specific notes: |
RedirectionTargetAttribute | Signature: [static,const] QNetworkRequest_Attribute RedirectionTargetAttribute Description: Enum constant QNetworkRequest::RedirectionTargetAttribute Python specific notes: |
SetCookieHeader | Signature: [static,const] QNetworkRequest_KnownHeaders SetCookieHeader Description: Enum constant QNetworkRequest::SetCookieHeader Python specific notes: |
SourceIsFromCacheAttribute | Signature: [static,const] QNetworkRequest_Attribute SourceIsFromCacheAttribute Description: Enum constant QNetworkRequest::SourceIsFromCacheAttribute Python specific notes: |
User | Signature: [static,const] QNetworkRequest_Attribute User Description: Enum constant QNetworkRequest::User Python specific notes: |
UserMax | Signature: [static,const] QNetworkRequest_Attribute UserMax Description: Enum constant QNetworkRequest::UserMax Python specific notes: |
_assign | Signature: void _assign (const QNetworkRequest other) Description: Assigns another object to self |
_const_cast | Signature: [const] QNetworkRequest ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
assign | Signature: QNetworkRequest assign (const QNetworkRequest other) Description: Method QNetworkRequest &QNetworkRequest::operator=(const QNetworkRequest &other) |
attribute | Signature: [const] variant attribute (const QNetworkRequest_Attribute code, variant defaultValue = QVariant()) Description: Method QVariant QNetworkRequest::attribute(QNetworkRequest::Attribute code, const QVariant &defaultValue) |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
destroy | Signature: void destroy Description: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
destroyed? | Signature: [const] bool destroyed? Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
dup | Signature: [const] new QNetworkRequest ptr dup Description: Creates a copy of self Python specific notes: |
hasRawHeader | Signature: [const] bool hasRawHeader (bytes headerName) Description: Method bool QNetworkRequest::hasRawHeader(const QByteArray &headerName) |
header | Signature: [const] variant header (const QNetworkRequest_KnownHeaders header) Description: Method QVariant QNetworkRequest::header(QNetworkRequest::KnownHeaders header) |
is_const_object? | Signature: [const] bool is_const_object? Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
new | (1) Signature: [static] new QNetworkRequest new (const QUrl url = QUrl()) Description: Constructor QNetworkRequest::QNetworkRequest(const QUrl &url) This method creates an object of class QNetworkRequest. Python specific notes: |
(2) Signature: [static] new QNetworkRequest new (const QNetworkRequest other) Description: Constructor QNetworkRequest::QNetworkRequest(const QNetworkRequest &other) This method creates an object of class QNetworkRequest. Python specific notes: | |
originatingObject | Signature: [const] QObject ptr originatingObject Description: Method QObject *QNetworkRequest::originatingObject() Python specific notes: |
originatingObject= | Signature: void originatingObject= (QObject ptr object) Description: Method void QNetworkRequest::setOriginatingObject(QObject *object) Python specific notes: |
rawHeader | Signature: [const] bytes rawHeader (bytes headerName) Description: Method QByteArray QNetworkRequest::rawHeader(const QByteArray &headerName) |
rawHeaderList | Signature: [const] bytes[] rawHeaderList Description: Method QList<QByteArray> QNetworkRequest::rawHeaderList() |
setAttribute | Signature: void setAttribute (const QNetworkRequest_Attribute code, variant value) Description: Method void QNetworkRequest::setAttribute(QNetworkRequest::Attribute code, const QVariant &value) |
setHeader | Signature: void setHeader (const QNetworkRequest_KnownHeaders header, variant value) Description: Method void QNetworkRequest::setHeader(QNetworkRequest::KnownHeaders header, const QVariant &value) |
setOriginatingObject | Signature: void setOriginatingObject (QObject ptr object) Description: Method void QNetworkRequest::setOriginatingObject(QObject *object) Python specific notes: |
setRawHeader | Signature: void setRawHeader (bytes headerName, bytes value) Description: Method void QNetworkRequest::setRawHeader(const QByteArray &headerName, const QByteArray &value) |
setSslConfiguration | Signature: void setSslConfiguration (const QSslConfiguration configuration) Description: Method void QNetworkRequest::setSslConfiguration(const QSslConfiguration &configuration) Python specific notes: |
setUrl | Signature: void setUrl (const QUrl url) Description: Method void QNetworkRequest::setUrl(const QUrl &url) Python specific notes: |
sslConfiguration | Signature: [const] QSslConfiguration sslConfiguration Description: Method QSslConfiguration QNetworkRequest::sslConfiguration() Python specific notes: |
sslConfiguration= | Signature: void sslConfiguration= (const QSslConfiguration configuration) Description: Method void QNetworkRequest::setSslConfiguration(const QSslConfiguration &configuration) Python specific notes: |
url | Signature: [const] QUrl url Description: Method QUrl QNetworkRequest::url() Python specific notes: |
url= | Signature: void url= (const QUrl url) Description: Method void QNetworkRequest::setUrl(const QUrl &url) Python specific notes: |