eric6/Documentation/Source/eric6.Helpviewer.Network.FollowRedirectReply.html

changeset 6942
2602857055c5
parent 5727
c8842a8d1167
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Helpviewer.Network.FollowRedirectReply</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.Helpviewer.Network.FollowRedirectReply</h1>
23 <p>
24 Module implementing a network reply delegate allowing to check redirects.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#FollowRedirectReply">FollowRedirectReply</a></td>
34 <td>Class implementing a network reply delegate allowing to check redirects.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="FollowRedirectReply" ID="FollowRedirectReply"></a>
43 <h2>FollowRedirectReply</h2>
44 <p>
45 Class implementing a network reply delegate allowing to check redirects.
46 </p><h3>Signals</h3>
47 <dl>
48 <dt>finished()</dt>
49 <dd>
50 emitted to indicate the end of the redirect
51 </dd>
52 </dl>
53 <h3>Derived from</h3>
54 QObject
55 <h3>Class Attributes</h3>
56 <table>
57 <tr><td>None</td></tr>
58 </table>
59 <h3>Class Methods</h3>
60 <table>
61 <tr><td>None</td></tr>
62 </table>
63 <h3>Methods</h3>
64 <table>
65 <tr>
66 <td><a href="#FollowRedirectReply.__init__">FollowRedirectReply</a></td>
67 <td>Constructor</td>
68 </tr><tr>
69 <td><a href="#FollowRedirectReply.__replyFinished">__replyFinished</a></td>
70 <td>Private slot handling the receipt of the requested data.</td>
71 </tr><tr>
72 <td><a href="#FollowRedirectReply.close">close</a></td>
73 <td>Public method to close the data stream.</td>
74 </tr><tr>
75 <td><a href="#FollowRedirectReply.error">error</a></td>
76 <td>Public method to get the error information.</td>
77 </tr><tr>
78 <td><a href="#FollowRedirectReply.errorString">errorString</a></td>
79 <td>Public method to get the error message.</td>
80 </tr><tr>
81 <td><a href="#FollowRedirectReply.originalUrl">originalUrl</a></td>
82 <td>Public method to get the original URL.</td>
83 </tr><tr>
84 <td><a href="#FollowRedirectReply.readAll">readAll</a></td>
85 <td>Public method to read all received data.</td>
86 </tr><tr>
87 <td><a href="#FollowRedirectReply.reply">reply</a></td>
88 <td>Public method to get the reply object.</td>
89 </tr><tr>
90 <td><a href="#FollowRedirectReply.url">url</a></td>
91 <td>Public method to get the final URL (after redirects).</td>
92 </tr>
93 </table>
94 <h3>Static Methods</h3>
95 <table>
96 <tr><td>None</td></tr>
97 </table>
98 <a NAME="FollowRedirectReply.__init__" ID="FollowRedirectReply.__init__"></a>
99 <h4>FollowRedirectReply (Constructor)</h4>
100 <b>FollowRedirectReply</b>(<i>url, manager, maxRedirects=5</i>)
101 <p>
102 Constructor
103 </p><dl>
104 <dt><i>url</i></dt>
105 <dd>
106 URL to get (QUrl)
107 </dd><dt><i>manager</i></dt>
108 <dd>
109 reference to the network access manager
110 (QNetworkAccessManager)
111 </dd><dt><i>maxRedirects=</i></dt>
112 <dd>
113 maximum allowed redirects (integer)
114 </dd>
115 </dl><a NAME="FollowRedirectReply.__replyFinished" ID="FollowRedirectReply.__replyFinished"></a>
116 <h4>FollowRedirectReply.__replyFinished</h4>
117 <b>__replyFinished</b>(<i></i>)
118 <p>
119 Private slot handling the receipt of the requested data.
120 </p><a NAME="FollowRedirectReply.close" ID="FollowRedirectReply.close"></a>
121 <h4>FollowRedirectReply.close</h4>
122 <b>close</b>(<i></i>)
123 <p>
124 Public method to close the data stream.
125 </p><a NAME="FollowRedirectReply.error" ID="FollowRedirectReply.error"></a>
126 <h4>FollowRedirectReply.error</h4>
127 <b>error</b>(<i></i>)
128 <p>
129 Public method to get the error information.
130 </p><dl>
131 <dt>Returns:</dt>
132 <dd>
133 error code (QNetworkReply.NetworkError)
134 </dd>
135 </dl><a NAME="FollowRedirectReply.errorString" ID="FollowRedirectReply.errorString"></a>
136 <h4>FollowRedirectReply.errorString</h4>
137 <b>errorString</b>(<i></i>)
138 <p>
139 Public method to get the error message.
140 </p><dl>
141 <dt>Returns:</dt>
142 <dd>
143 error message (string)
144 </dd>
145 </dl><a NAME="FollowRedirectReply.originalUrl" ID="FollowRedirectReply.originalUrl"></a>
146 <h4>FollowRedirectReply.originalUrl</h4>
147 <b>originalUrl</b>(<i></i>)
148 <p>
149 Public method to get the original URL.
150 </p><dl>
151 <dt>Returns:</dt>
152 <dd>
153 original URL (QUrl)
154 </dd>
155 </dl><a NAME="FollowRedirectReply.readAll" ID="FollowRedirectReply.readAll"></a>
156 <h4>FollowRedirectReply.readAll</h4>
157 <b>readAll</b>(<i></i>)
158 <p>
159 Public method to read all received data.
160 </p><dl>
161 <dt>Returns:</dt>
162 <dd>
163 received raw data (QByteArray)
164 </dd>
165 </dl><a NAME="FollowRedirectReply.reply" ID="FollowRedirectReply.reply"></a>
166 <h4>FollowRedirectReply.reply</h4>
167 <b>reply</b>(<i></i>)
168 <p>
169 Public method to get the reply object.
170 </p><dl>
171 <dt>Returns:</dt>
172 <dd>
173 reference to the reply object (QNetworkReply)
174 </dd>
175 </dl><a NAME="FollowRedirectReply.url" ID="FollowRedirectReply.url"></a>
176 <h4>FollowRedirectReply.url</h4>
177 <b>url</b>(<i></i>)
178 <p>
179 Public method to get the final URL (after redirects).
180 </p><dl>
181 <dt>Returns:</dt>
182 <dd>
183 final URL (QUrl)
184 </dd>
185 </dl>
186 <div align="right"><a href="#top">Up</a></div>
187 <hr />
188 </body></html>

eric ide

mercurial