Skip to content

PythonQt.QtNetwork.QNetworkRequest

QNetworkRequest

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

QNetworkRequest is part of the Network Access API and is the class holding the information necessary to send a request over the network. It contains a URL and some ancillary information that can be used to modify the request.

Source: https://doc.qt.io/archives/qt-5.15/qnetworkrequest.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
AlwaysCache attribute Any
AlwaysNetwork attribute Any
Attribute attribute type Convert a number or string to an integer, or return 0 if no arguments are given.
AuthenticationReuseAttribute attribute Any
Automatic attribute Any
BackgroundRequestAttribute attribute Any
CacheLoadControl attribute type Convert a number or string to an integer, or return 0 if no arguments are given.
CacheLoadControlAttribute attribute Any
CacheSaveControlAttribute attribute Any
ConnectionEncryptedAttribute attribute Any
ContentDispositionHeader attribute Any
ContentLengthHeader attribute Any
ContentTypeHeader attribute Any
CookieHeader attribute Any
CookieLoadControlAttribute attribute Any
CookieSaveControlAttribute attribute Any
CustomVerbAttribute attribute Any
DoNotBufferUploadDataAttribute attribute Any
DownloadBufferAttribute attribute Any
EmitAllUploadProgressSignalsAttribute attribute Any
FollowRedirectsAttribute attribute Any
HighPriority attribute Any (shared captured text)
HttpPipeliningAllowedAttribute attribute Any
HttpPipeliningWasUsedAttribute attribute Any
HttpReasonPhraseAttribute attribute Any
HttpStatusCodeAttribute attribute Any
KnownHeaders attribute type Convert a number or string to an integer, or return 0 if no arguments are given.
LastModifiedHeader attribute Any
LoadControl attribute type Convert a number or string to an integer, or return 0 if no arguments are given.
LocationHeader attribute Any
LowPriority attribute Any (shared captured text)
Manual attribute Any (shared captured text)
MaximumDownloadBufferSizeAttribute attribute Any
NormalPriority attribute Any (shared captured text)
PreferCache attribute Any
PreferNetwork attribute Any
Priority attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
RedirectionTargetAttribute attribute Any
ServerHeader attribute Any
SetCookieHeader attribute Any
SourceIsFromCacheAttribute attribute Any
SpdyAllowedAttribute attribute Any
SpdyWasUsedAttribute attribute Any
SynchronousRequestAttribute attribute Any
User attribute Any (shared captured text)
UserAgentHeader attribute Any
UserMax attribute Any
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
attribute function (self, code: Any, defaultValue: Any) -> Any X.attribute(code, defaultValue) -> object
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
hasRawHeader function (self, headerName: Any) -> bool X.hasRawHeader(headerName) -> bool
header function (self, header: Any) -> Any X.header(header) -> object
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
maximumRedirectsAllowed function (self) -> int X.maximumRedirectsAllowed() -> int
originatingObject function (self) -> Any X.originatingObject() -> PythonQt.private.QObject
priority function (self) -> Any Return the priority of this request.
rawHeader function (self, headerName: Any) -> Any X.rawHeader(headerName) -> PythonQt.QtCore.QByteArray
rawHeaderList function (self) -> Any Returns a list of all raw headers that are set in this network request.
setAttribute function (self, code: Any, value: Any) -> None X.setAttribute(code, value)
setHeader function (self, header: Any, value: Any) -> None X.setHeader(header, value)
setMaximumRedirectsAllowed function (self, maximumRedirectsAllowed: int) -> None Sets the maximum number of redirects allowed to be followed for this request to maxRedirectsAllowed.
setOriginatingObject function (self, object: Any) -> None Allows setting a reference to the object initiating the request.
setPriority function (self, priority: Any) -> None Set the priority of this request to priority.
setRawHeader function (self, headerName: Any, value: Any) -> None X.setRawHeader(headerName, value)
setUrl function (self, url: Any) -> None Sets the URL this network request is referring to be url.
swap function (self, other: Any) -> None Swaps this network request with other.
url function (self) -> Any X.url() -> PythonQt.QtCore.QUrl