Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtNetwork »

Classe « QNetworkRequest »

Informations générales

Héritage

builtins.object
    Object
        QNetworkRequest

Définition

class QNetworkRequest(Object):

Description [extrait de QNetworkRequest.__doc__]

QNetworkRequest(self) -> None
QNetworkRequest(self, other: PySide6.QtNetwork.QNetworkRequest) -> None
QNetworkRequest(self, url: Union[PySide6.QtCore.QUrl, str]) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AlwaysCachePySide6.QtNetwork.QNetworkRequest.CacheLoadControl.AlwaysCache
AlwaysNetworkPySide6.QtNetwork.QNetworkRequest.CacheLoadControl.AlwaysNetwork
AuthenticationReuseAttributePySide6.QtNetwork.QNetworkRequest.Attribute.AuthenticationReuseAttribute
AutoDeleteReplyOnFinishAttributePySide6.QtNetwork.QNetworkRequest.Attribute.AutoDeleteReplyOnFinishAttribute
AutomaticPySide6.QtNetwork.QNetworkRequest.LoadControl.Automatic
BackgroundRequestAttributePySide6.QtNetwork.QNetworkRequest.Attribute.BackgroundRequestAttribute
CacheLoadControlAttributePySide6.QtNetwork.QNetworkRequest.Attribute.CacheLoadControlAttribute
CacheSaveControlAttributePySide6.QtNetwork.QNetworkRequest.Attribute.CacheSaveControlAttribute
ConnectionEncryptedAttributePySide6.QtNetwork.QNetworkRequest.Attribute.ConnectionEncryptedAttribute
ContentDispositionHeaderPySide6.QtNetwork.QNetworkRequest.KnownHeaders.ContentDispositionHeader
ContentLengthHeaderPySide6.QtNetwork.QNetworkRequest.KnownHeaders.ContentLengthHeader
ContentTypeHeaderPySide6.QtNetwork.QNetworkRequest.KnownHeaders.ContentTypeHeader
CookieHeaderPySide6.QtNetwork.QNetworkRequest.KnownHeaders.CookieHeader
CookieLoadControlAttributePySide6.QtNetwork.QNetworkRequest.Attribute.CookieLoadControlAttribute
CookieSaveControlAttributePySide6.QtNetwork.QNetworkRequest.Attribute.CookieSaveControlAttribute
CustomVerbAttributePySide6.QtNetwork.QNetworkRequest.Attribute.CustomVerbAttribute
DefaultTransferTimeoutConstantPySide6.QtNetwork.QNetworkRequest.TransferTimeoutConstant.DefaultTransferTimeoutConstant
DoNotBufferUploadDataAttributePySide6.QtNetwork.QNetworkRequest.Attribute.DoNotBufferUploadDataAttribute
DownloadBufferAttributePySide6.QtNetwork.QNetworkRequest.Attribute.DownloadBufferAttribute
EmitAllUploadProgressSignalsAttributePySide6.QtNetwork.QNetworkRequest.Attribute.EmitAllUploadProgressSignalsAttribute
ETagHeaderPySide6.QtNetwork.QNetworkRequest.KnownHeaders.ETagHeader
HighPriorityPySide6.QtNetwork.QNetworkRequest.Priority.HighPriority
Http2AllowedAttributePySide6.QtNetwork.QNetworkRequest.Attribute.Http2AllowedAttribute
Http2DirectAttributePySide6.QtNetwork.QNetworkRequest.Attribute.Http2DirectAttribute
Http2WasUsedAttributePySide6.QtNetwork.QNetworkRequest.Attribute.Http2WasUsedAttribute
HttpPipeliningAllowedAttributePySide6.QtNetwork.QNetworkRequest.Attribute.HttpPipeliningAllowedAttribute
HttpPipeliningWasUsedAttributePySide6.QtNetwork.QNetworkRequest.Attribute.HttpPipeliningWasUsedAttribute
HttpReasonPhraseAttributePySide6.QtNetwork.QNetworkRequest.Attribute.HttpReasonPhraseAttribute
HttpStatusCodeAttributePySide6.QtNetwork.QNetworkRequest.Attribute.HttpStatusCodeAttribute
IfMatchHeaderPySide6.QtNetwork.QNetworkRequest.KnownHeaders.IfMatchHeader
IfModifiedSinceHeaderPySide6.QtNetwork.QNetworkRequest.KnownHeaders.IfModifiedSinceHeader
IfNoneMatchHeaderPySide6.QtNetwork.QNetworkRequest.KnownHeaders.IfNoneMatchHeader
LastModifiedHeaderPySide6.QtNetwork.QNetworkRequest.KnownHeaders.LastModifiedHeader
LocationHeaderPySide6.QtNetwork.QNetworkRequest.KnownHeaders.LocationHeader
LowPriorityPySide6.QtNetwork.QNetworkRequest.Priority.LowPriority
ManualPySide6.QtNetwork.QNetworkRequest.LoadControl.Manual
ManualRedirectPolicyPySide6.QtNetwork.QNetworkRequest.RedirectPolicy.ManualRedirectPolicy
MaximumDownloadBufferSizeAttributePySide6.QtNetwork.QNetworkRequest.Attribute.MaximumDownloadBufferSizeAttribute
NoLessSafeRedirectPolicyPySide6.QtNetwork.QNetworkRequest.RedirectPolicy.NoLessSafeRedirectPolicy
NormalPriorityPySide6.QtNetwork.QNetworkRequest.Priority.NormalPriority
OriginalContentLengthAttributePySide6.QtNetwork.QNetworkRequest.Attribute.OriginalContentLengthAttribute
PreferCachePySide6.QtNetwork.QNetworkRequest.CacheLoadControl.PreferCache
PreferNetworkPySide6.QtNetwork.QNetworkRequest.CacheLoadControl.PreferNetwork
RedirectionTargetAttributePySide6.QtNetwork.QNetworkRequest.Attribute.RedirectionTargetAttribute
RedirectPolicyAttributePySide6.QtNetwork.QNetworkRequest.Attribute.RedirectPolicyAttribute
ResourceTypeAttributePySide6.QtNetwork.QNetworkRequest.Attribute.ResourceTypeAttribute
SameOriginRedirectPolicyPySide6.QtNetwork.QNetworkRequest.RedirectPolicy.SameOriginRedirectPolicy
ServerHeaderPySide6.QtNetwork.QNetworkRequest.KnownHeaders.ServerHeader
SetCookieHeaderPySide6.QtNetwork.QNetworkRequest.KnownHeaders.SetCookieHeader
SourceIsFromCacheAttributePySide6.QtNetwork.QNetworkRequest.Attribute.SourceIsFromCacheAttribute
SynchronousRequestAttributePySide6.QtNetwork.QNetworkRequest.Attribute.SynchronousRequestAttribute
UserPySide6.QtNetwork.QNetworkRequest.Attribute.User
UserAgentHeaderPySide6.QtNetwork.QNetworkRequest.KnownHeaders.UserAgentHeader
UserMaxPySide6.QtNetwork.QNetworkRequest.Attribute.UserMax
UserVerifiedRedirectPolicyPySide6.QtNetwork.QNetworkRequest.RedirectPolicy.UserVerifiedRedirectPolicy

Liste des opérateurs

Signature de l'opérateur Description
__eq__(self, value) Return self==value. [extrait de __eq__.__doc__]
__ge__(self, value) Return self>=value. [extrait de __ge__.__doc__]
__gt__(self, value) Return self>value. [extrait de __gt__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__copy__() -> None __copy__() -> None [extrait de __copy__.__doc__]
Attribute
attribute(self, code: PySide6.QtNetwork.QNetworkRequest.Attribute, defaultValue: Any = Invalid(typing.Any)) -> Any attribute(self, code: PySide6.QtNetwork.QNetworkRequest.Attribute, defaultValue: Any = Invalid(typing.Any)) -> Any [extrait de attribute.__doc__]
CacheLoadControl
decompressedSafetyCheckThreshold(self) -> int decompressedSafetyCheckThreshold(self) -> int [extrait de decompressedSafetyCheckThreshold.__doc__]
hasRawHeader(self, headerName: Union[PySide6.QtCore.QByteArray, bytes]) -> bool hasRawHeader(self, headerName: Union[PySide6.QtCore.QByteArray, bytes]) -> bool [extrait de hasRawHeader.__doc__]
header(self, header: PySide6.QtNetwork.QNetworkRequest.KnownHeaders) -> Any header(self, header: PySide6.QtNetwork.QNetworkRequest.KnownHeaders) -> Any [extrait de header.__doc__]
http2Configuration(self) -> PySide6.QtNetwork.QHttp2Configuration http2Configuration(self) -> PySide6.QtNetwork.QHttp2Configuration [extrait de http2Configuration.__doc__]
KnownHeaders
LoadControl
maximumRedirectsAllowed(self) -> int maximumRedirectsAllowed(self) -> int [extrait de maximumRedirectsAllowed.__doc__]
originatingObject(self) -> PySide6.QtCore.QObject originatingObject(self) -> PySide6.QtCore.QObject [extrait de originatingObject.__doc__]
peerVerifyName(self) -> str peerVerifyName(self) -> str [extrait de peerVerifyName.__doc__]
Priority
priority(self) -> PySide6.QtNetwork.QNetworkRequest.Priority priority(self) -> PySide6.QtNetwork.QNetworkRequest.Priority [extrait de priority.__doc__]
rawHeader(self, headerName: Union[PySide6.QtCore.QByteArray, bytes]) -> PySide6.QtCore.QByteArray rawHeader(self, headerName: Union[PySide6.QtCore.QByteArray, bytes]) -> PySide6.QtCore.QByteArray [extrait de rawHeader.__doc__]
rawHeaderList(self) -> List[PySide6.QtCore.QByteArray] rawHeaderList(self) -> List[PySide6.QtCore.QByteArray] [extrait de rawHeaderList.__doc__]
RedirectPolicy
setAttribute(self, code: PySide6.QtNetwork.QNetworkRequest.Attribute, value: Any) -> None setAttribute(self, code: PySide6.QtNetwork.QNetworkRequest.Attribute, value: Any) -> None [extrait de setAttribute.__doc__]
setDecompressedSafetyCheckThreshold(self, threshold: int) -> None setDecompressedSafetyCheckThreshold(self, threshold: int) -> None [extrait de setDecompressedSafetyCheckThreshold.__doc__]
setHeader(self, header: PySide6.QtNetwork.QNetworkRequest.KnownHeaders, value: Any) -> None setHeader(self, header: PySide6.QtNetwork.QNetworkRequest.KnownHeaders, value: Any) -> None [extrait de setHeader.__doc__]
setHttp2Configuration(self, configuration: PySide6.QtNetwork.QHttp2Configuration) -> None setHttp2Configuration(self, configuration: PySide6.QtNetwork.QHttp2Configuration) -> None [extrait de setHttp2Configuration.__doc__]
setMaximumRedirectsAllowed(self, maximumRedirectsAllowed: int) -> None setMaximumRedirectsAllowed(self, maximumRedirectsAllowed: int) -> None [extrait de setMaximumRedirectsAllowed.__doc__]
setOriginatingObject(self, object: PySide6.QtCore.QObject) -> None setOriginatingObject(self, object: PySide6.QtCore.QObject) -> None [extrait de setOriginatingObject.__doc__]
setPeerVerifyName(self, peerName: str) -> None setPeerVerifyName(self, peerName: str) -> None [extrait de setPeerVerifyName.__doc__]
setPriority(self, priority: PySide6.QtNetwork.QNetworkRequest.Priority) -> None setPriority(self, priority: PySide6.QtNetwork.QNetworkRequest.Priority) -> None [extrait de setPriority.__doc__]
setRawHeader(self, headerName: Union[PySide6.QtCore.QByteArray, bytes], value: Union[PySide6.QtCore.QByteArray, bytes]) -> None setRawHeader(self, headerName: Union[PySide6.QtCore.QByteArray, bytes], value: Union[PySide6.QtCore.QByteArray, bytes]) -> None [extrait de setRawHeader.__doc__]
setSslConfiguration(self, configuration: PySide6.QtNetwork.QSslConfiguration) -> None setSslConfiguration(self, configuration: PySide6.QtNetwork.QSslConfiguration) -> None [extrait de setSslConfiguration.__doc__]
setTransferTimeout(self, timeout: int = <class 'PySide6.QtNetwork.QNetworkRequest.TransferTimeoutConstant'>) -> None setTransferTimeout(self, timeout: int = <class 'PySide6.QtNetwork.QNetworkRequest.TransferTimeoutConstant'>) -> None [extrait de setTransferTimeout.__doc__]
setUrl(self, url: Union[PySide6.QtCore.QUrl, str]) -> None setUrl(self, url: Union[PySide6.QtCore.QUrl, str]) -> None [extrait de setUrl.__doc__]
sslConfiguration(self) -> PySide6.QtNetwork.QSslConfiguration sslConfiguration(self) -> PySide6.QtNetwork.QSslConfiguration [extrait de sslConfiguration.__doc__]
swap(self, other: PySide6.QtNetwork.QNetworkRequest) -> None swap(self, other: PySide6.QtNetwork.QNetworkRequest) -> None [extrait de swap.__doc__]
transferTimeout(self) -> int transferTimeout(self) -> int [extrait de transferTimeout.__doc__]
TransferTimeoutConstant
url(self) -> PySide6.QtCore.QUrl url(self) -> PySide6.QtCore.QUrl [extrait de url.__doc__]

Méthodes héritées de la classe Object

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__