Skip to content

PythonQt.Qt.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 (shared captured text)
AlwaysNetwork attribute Any (shared captured text)
Attribute attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
AuthenticationReuseAttribute attribute Any (shared captured text)
Automatic attribute Any (shared captured text)
BackgroundRequestAttribute attribute Any (shared captured text)
CacheLoadControl attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
CacheLoadControlAttribute attribute Any (shared captured text)
CacheSaveControlAttribute attribute Any (shared captured text)
ConnectionEncryptedAttribute attribute Any (shared captured text)
ContentDispositionHeader attribute Any (shared captured text)
ContentLengthHeader attribute Any (shared captured text)
ContentTypeHeader attribute Any (shared captured text)
CookieHeader attribute Any (shared captured text)
CookieLoadControlAttribute attribute Any (shared captured text)
CookieSaveControlAttribute attribute Any (shared captured text)
CustomVerbAttribute attribute Any (shared captured text)
DoNotBufferUploadDataAttribute attribute Any (shared captured text)
DownloadBufferAttribute attribute Any (shared captured text)
EmitAllUploadProgressSignalsAttribute attribute Any (shared captured text)
FollowRedirectsAttribute attribute Any (shared captured text)
HighPriority attribute Any (shared captured text)
HttpPipeliningAllowedAttribute attribute Any (shared captured text)
HttpPipeliningWasUsedAttribute attribute Any (shared captured text)
HttpReasonPhraseAttribute attribute Any (shared captured text)
HttpStatusCodeAttribute attribute Any (shared captured text)
KnownHeaders attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
LastModifiedHeader attribute Any (shared captured text)
LoadControl attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
LocationHeader attribute Any (shared captured text)
LowPriority attribute Any (shared captured text)
Manual attribute Any (shared captured text)
MaximumDownloadBufferSizeAttribute attribute Any (shared captured text)
NormalPriority attribute Any (shared captured text)
PreferCache attribute Any (shared captured text)
PreferNetwork attribute Any (shared captured text)
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 (shared captured text)
ServerHeader attribute Any (shared captured text)
SetCookieHeader attribute Any (shared captured text)
SourceIsFromCacheAttribute attribute Any (shared captured text)
SpdyAllowedAttribute attribute Any (shared captured text)
SpdyWasUsedAttribute attribute Any (shared captured text)
SynchronousRequestAttribute attribute Any (shared captured text)
User attribute Any (shared captured text)
UserAgentHeader attribute Any (shared captured text)
UserMax attribute Any (shared captured text)
__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 (shared captured text)
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 (shared captured text)
header function (self, header: Any) -> Any X.header(header) -> object (shared captured text)
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 (shared captured text)
originatingObject function (self) -> Any X.originatingObject() -> PythonQt.private.QObject (shared captured text)
priority function (self) -> Any Return the priority of this request. (shared captured text)
rawHeader function (self, headerName: Any) -> Any X.rawHeader(headerName) -> PythonQt.QtCore.QByteArray (shared captured text)
rawHeaderList function (self) -> Any Returns a list of all raw headers that are set in this network request. (shared captured text)
setAttribute function (self, code: Any, value: Any) -> None X.setAttribute(code, value) (shared captured text)
setHeader function (self, header: Any, value: Any) -> None X.setHeader(header, value) (shared captured text)
setMaximumRedirectsAllowed function (self, maximumRedirectsAllowed: int) -> None Sets the maximum number of redirects allowed to be followed for this request to maxRedirectsAllowed. (shared captured text)
setOriginatingObject function (self, object: Any) -> None Allows setting a reference to the object initiating the request. (shared captured text)
setPriority function (self, priority: Any) -> None Set the priority of this request to priority. (shared captured text)
setRawHeader function (self, headerName: Any, value: Any) -> None X.setRawHeader(headerName, value) (shared captured text)
setUrl function (self, url: Any) -> None Sets the URL this network request is referring to be url. (shared captured text)
swap function (self, other: Any) -> None Swaps this network request with other. (shared captured text)
url function (self) -> Any X.url() -> PythonQt.QtCore.QUrl (shared captured text)