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

branch
maintenance
changeset 7286
7eb04391adf7
parent 7226
babe80d84a3e
parent 7285
1ff497f33f31
child 7287
1c17f2191bdd
equal deleted inserted replaced
7226:babe80d84a3e 7286:7eb04391adf7
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Helpviewer.Network.NetworkReply</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.NetworkReply</h1>
23 <p>
24 Module implementing a network reply object for special data.
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="#NetworkReply">NetworkReply</a></td>
34 <td>Class implementing a QNetworkReply subclass for special data.</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="NetworkReply" ID="NetworkReply"></a>
43 <h2>NetworkReply</h2>
44 <p>
45 Class implementing a QNetworkReply subclass for special data.
46 </p>
47 <h3>Derived from</h3>
48 QNetworkReply
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#NetworkReply.__init__">NetworkReply</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#NetworkReply.abort">abort</a></td>
64 <td>Public slot to abort the operation.</td>
65 </tr><tr>
66 <td><a href="#NetworkReply.bytesAvailable">bytesAvailable</a></td>
67 <td>Public method to determined the bytes available for being read.</td>
68 </tr><tr>
69 <td><a href="#NetworkReply.isFinished">isFinished</a></td>
70 <td>Public method to check, if the reply has finished.</td>
71 </tr><tr>
72 <td><a href="#NetworkReply.readData">readData</a></td>
73 <td>Public method to retrieve data from the reply object.</td>
74 </tr>
75 </table>
76 <h3>Static Methods</h3>
77 <table>
78 <tr><td>None</td></tr>
79 </table>
80 <a NAME="NetworkReply.__init__" ID="NetworkReply.__init__"></a>
81 <h4>NetworkReply (Constructor)</h4>
82 <b>NetworkReply</b>(<i>request, fileData, mimeType, parent=None</i>)
83 <p>
84 Constructor
85 </p><dl>
86 <dt><i>request</i></dt>
87 <dd>
88 reference to the request object (QNetworkRequest)
89 </dd><dt><i>fileData</i></dt>
90 <dd>
91 reference to the data buffer (QByteArray)
92 </dd><dt><i>mimeType</i></dt>
93 <dd>
94 for the reply (string)
95 </dd><dt><i>parent</i></dt>
96 <dd>
97 reference to the parent object (QObject)
98 </dd>
99 </dl><a NAME="NetworkReply.abort" ID="NetworkReply.abort"></a>
100 <h4>NetworkReply.abort</h4>
101 <b>abort</b>(<i></i>)
102 <p>
103 Public slot to abort the operation.
104 </p><a NAME="NetworkReply.bytesAvailable" ID="NetworkReply.bytesAvailable"></a>
105 <h4>NetworkReply.bytesAvailable</h4>
106 <b>bytesAvailable</b>(<i></i>)
107 <p>
108 Public method to determined the bytes available for being read.
109 </p><dl>
110 <dt>Returns:</dt>
111 <dd>
112 bytes available (integer)
113 </dd>
114 </dl><a NAME="NetworkReply.isFinished" ID="NetworkReply.isFinished"></a>
115 <h4>NetworkReply.isFinished</h4>
116 <b>isFinished</b>(<i></i>)
117 <p>
118 Public method to check, if the reply has finished.
119 </p><dl>
120 <dt>Returns:</dt>
121 <dd>
122 flag indicating the finished state (boolean)
123 </dd>
124 </dl><a NAME="NetworkReply.readData" ID="NetworkReply.readData"></a>
125 <h4>NetworkReply.readData</h4>
126 <b>readData</b>(<i>maxlen</i>)
127 <p>
128 Public method to retrieve data from the reply object.
129 </p><dl>
130 <dt><i>maxlen</i></dt>
131 <dd>
132 maximum number of bytes to read (integer)
133 </dd>
134 </dl><dl>
135 <dt>Returns:</dt>
136 <dd>
137 string containing the data (bytes)
138 </dd>
139 </dl>
140 <div align="right"><a href="#top">Up</a></div>
141 <hr />
142 </body></html>

eric ide

mercurial