src/eric7/EricNetwork/EricNetworkProxyFactory.py

branch
eric7
changeset 10423
299802979277
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r e28b89693f37 -r 299802979277 src/eric7/EricNetwork/EricNetworkProxyFactory.py
--- a/src/eric7/EricNetwork/EricNetworkProxyFactory.py	Tue Dec 19 11:04:03 2023 +0100
+++ b/src/eric7/EricNetwork/EricNetworkProxyFactory.py	Tue Dec 19 19:57:08 2023 +0100
@@ -23,8 +23,10 @@
     """
     Module function to determine the scheme name from the proxy type.
 
-    @param proxyType type of the proxy (QNetworkProxy.ProxyType)
-    @return scheme (string, one of Http, Https, Ftp)
+    @param proxyType type of the proxy
+    @type QNetworkProxy.ProxyType
+    @return schemeone of Http, Https, Ftp)
+    @rtype str
     """
     scheme = ""
     if proxyType == QNetworkProxy.ProxyType.HttpProxy:
@@ -42,8 +44,10 @@
     """
     Module slot to handle a proxy authentication request.
 
-    @param proxy reference to the proxy object (QNetworkProxy)
-    @param auth reference to the authenticator object (QAuthenticator)
+    @param proxy reference to the proxy object
+    @type QNetworkProxy
+    @param auth reference to the authenticator object
+    @type QAuthenticator
     """
     from eric7.UI.AuthenticationDialog import AuthenticationDialog
 
@@ -86,6 +90,7 @@
         Public method to set the match pattern.
 
         @param pattern pattern to be matched against
+        @type str
         """
         self.__pattern = pattern
 
@@ -149,8 +154,10 @@
         """
         Public method to determine a proxy for a given query.
 
-        @param query reference to the query object (QNetworkProxyQuery)
-        @return list of proxies in order of preference (list of QNetworkProxy)
+        @param query reference to the query object
+        @type QNetworkProxyQuery
+        @return list of proxies in order of preference
+        @rtype list of QNetworkProxy
         """
         if (
             query.queryType() == QNetworkProxyQuery.QueryType.UrlRequest

eric ide

mercurial