OLD | NEW |
| (Empty) |
1 | |
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
3 <html><head><title>Python: module telemetry.internal.backends.chrome_inspector.i
nspector_network</title> | |
4 <meta charset="utf-8"> | |
5 </head><body bgcolor="#f0f0f8"> | |
6 | |
7 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> | |
8 <tr bgcolor="#7799ee"> | |
9 <td valign=bottom> <br> | |
10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.int
ernal.backends.html"><font color="#ffffff">backends</font></a>.<a href="telemetr
y.internal.backends.chrome_inspector.html"><font color="#ffffff">chrome_inspecto
r</font></a>.inspector_network</strong></big></big></font></td | |
11 ><td align=right valign=bottom | |
12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/internal/backends/chrome_inspector/inspector_network.py">telemetry
/internal/backends/chrome_inspector/inspector_network.py</a></font></td></tr></t
able> | |
13 <p><tt># Copyright 2013 The Chromium Authors.
All rights reserved.<br> | |
14 # Use of this source code is governed by
a BSD-style license that can be<br> | |
15 # found in the LICENSE file.</tt></p> | |
16 <p> | |
17 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
18 <tr bgcolor="#aa55cc"> | |
19 <td colspan=3 valign=bottom> <br> | |
20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> | |
21 | |
22 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> | |
23 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="telemetry.core.exceptions.html">telemetry.core.exceptions</a><br> | |
24 </td><td width="25%" valign=top><a href="logging.html">logging</a><br> | |
25 </td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></tabl
e></td></tr></table><p> | |
26 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
27 <tr bgcolor="#ee77aa"> | |
28 <td colspan=3 valign=bottom> <br> | |
29 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | |
30 | |
31 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | |
32 <td width="100%"><dl> | |
33 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> | |
34 </font></dt><dd> | |
35 <dl> | |
36 <dt><font face="helvetica, arial"><a href="telemetry.internal.backends.chrome_in
spector.inspector_network.html#InspectorNetwork">InspectorNetwork</a> | |
37 </font></dt><dt><font face="helvetica, arial"><a href="telemetry.internal.backen
ds.chrome_inspector.inspector_network.html#InspectorNetworkResponseData">Inspect
orNetworkResponseData</a> | |
38 </font></dt><dt><font face="helvetica, arial"><a href="telemetry.internal.backen
ds.chrome_inspector.inspector_network.html#TimelineRecorder">TimelineRecorder</a
> | |
39 </font></dt></dl> | |
40 </dd> | |
41 <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions
.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException<
/a>) | |
42 </font></dt><dd> | |
43 <dl> | |
44 <dt><font face="helvetica, arial"><a href="telemetry.internal.backends.chrome_in
spector.inspector_network.html#InspectorNetworkException">InspectorNetworkExcept
ion</a> | |
45 </font></dt></dl> | |
46 </dd> | |
47 </dl> | |
48 <p> | |
49 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
50 <tr bgcolor="#ffc8d8"> | |
51 <td colspan=3 valign=bottom> <br> | |
52 <font color="#000000" face="helvetica, arial"><a name="InspectorNetwork">class <
strong>InspectorNetwork</strong></a>(<a href="__builtin__.html#object">__builtin
__.object</a>)</font></td></tr> | |
53 | |
54 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | |
55 <td width="100%">Methods defined here:<br> | |
56 <dl><dt><a name="InspectorNetwork-ClearCache"><strong>ClearCache</strong></a>(se
lf, timeout<font color="#909090">=60</font>)</dt><dd><tt>Clears the br
owser's disk and memory cache.</tt></dd></dl> | |
57 | |
58 <dl><dt><a name="InspectorNetwork-ClearResponseData"><strong>ClearResponseData</
strong></a>(self)</dt><dd><tt>Clears recorded HTTP responses.</tt
></dd></dl> | |
59 | |
60 <dl><dt><a name="InspectorNetwork-GetHTTPResponseBody"><strong>GetHTTPResponseBo
dy</strong></a>(self, request_id, timeout<font color="#909090">=60</font>)</dt><
/dl> | |
61 | |
62 <dl><dt><a name="InspectorNetwork-GetResponseData"><strong>GetResponseData</stro
ng></a>(self)</dt><dd><tt>Returns all recorded HTTP response
s.</tt></dd></dl> | |
63 | |
64 <dl><dt><a name="InspectorNetwork-HTTPResponseServedFromCache"><strong>HTTPRespo
nseServedFromCache</strong></a>(self, request_id)</dt></dl> | |
65 | |
66 <dl><dt><a name="InspectorNetwork-StartMonitoringNetwork"><strong>StartMonitorin
gNetwork</strong></a>(self)</dt><dd><tt>Starts monitoring network 
;notifications and recording HTTP responses.</tt></dd></dl> | |
67 | |
68 <dl><dt><a name="InspectorNetwork-StopMonitoringNetwork"><strong>StopMonitoringN
etwork</strong></a>(self)</dt><dd><tt>Stops monitoring network no
tifications and recording HTTP responses.</tt></dd></dl> | |
69 | |
70 <dl><dt><a name="InspectorNetwork-__init__"><strong>__init__</strong></a>(self,
inspector_websocket)</dt></dl> | |
71 | |
72 <hr> | |
73 Data descriptors defined here:<br> | |
74 <dl><dt><strong>__dict__</strong></dt> | |
75 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | |
76 </dl> | |
77 <dl><dt><strong>__weakref__</strong></dt> | |
78 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
79 </dl> | |
80 <dl><dt><strong>timeline_recorder</strong></dt> | |
81 </dl> | |
82 </td></tr></table> <p> | |
83 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
84 <tr bgcolor="#ffc8d8"> | |
85 <td colspan=3 valign=bottom> <br> | |
86 <font color="#000000" face="helvetica, arial"><a name="InspectorNetworkException
">class <strong>InspectorNetworkException</strong></a>(<a href="exceptions.html#
Exception">exceptions.Exception</a>)</font></td></tr> | |
87 | |
88 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | |
89 <td width="100%"><dl><dt>Method resolution order:</dt> | |
90 <dd><a href="telemetry.internal.backends.chrome_inspector.inspector_network.html
#InspectorNetworkException">InspectorNetworkException</a></dd> | |
91 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> | |
92 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> | |
93 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> | |
94 </dl> | |
95 <hr> | |
96 Data descriptors defined here:<br> | |
97 <dl><dt><strong>__weakref__</strong></dt> | |
98 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
99 </dl> | |
100 <hr> | |
101 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception<
/a>:<br> | |
102 <dl><dt><a name="InspectorNetworkException-__init__"><strong>__init__</strong></
a>(...)</dt><dd><tt>x.<a href="#InspectorNetworkException-__init__">__init__</a>
(...) initializes x; see help(type(x)) for signatu
re</tt></dd></dl> | |
103 | |
104 <hr> | |
105 Data and other attributes inherited from <a href="exceptions.html#Exception">exc
eptions.Exception</a>:<br> | |
106 <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object>
;<dd><tt>T.<a href="#InspectorNetworkException-__new__">__new__</a>(S, ...)
-> a new <a href="__builtin__.html#object">object</a>&nb
sp;with type S, a subtype of T</tt></dl> | |
107 | |
108 <hr> | |
109 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseEx
ception</a>:<br> | |
110 <dl><dt><a name="InspectorNetworkException-__delattr__"><strong>__delattr__</str
ong></a>(...)</dt><dd><tt>x.<a href="#InspectorNetworkException-__delattr__">__d
elattr__</a>('name') <==> del x.name</tt></dd></dl> | |
111 | |
112 <dl><dt><a name="InspectorNetworkException-__getattribute__"><strong>__getattrib
ute__</strong></a>(...)</dt><dd><tt>x.<a href="#InspectorNetworkException-__geta
ttribute__">__getattribute__</a>('name') <==> x.name</tt></dd></
dl> | |
113 | |
114 <dl><dt><a name="InspectorNetworkException-__getitem__"><strong>__getitem__</str
ong></a>(...)</dt><dd><tt>x.<a href="#InspectorNetworkException-__getitem__">__g
etitem__</a>(y) <==> x[y]</tt></dd></dl> | |
115 | |
116 <dl><dt><a name="InspectorNetworkException-__getslice__"><strong>__getslice__</s
trong></a>(...)</dt><dd><tt>x.<a href="#InspectorNetworkException-__getslice__">
__getslice__</a>(i, j) <==> x[i:j]<br> | |
117 <br> | |
118 Use of negative indices is not supported.</tt></dd
></dl> | |
119 | |
120 <dl><dt><a name="InspectorNetworkException-__reduce__"><strong>__reduce__</stron
g></a>(...)</dt></dl> | |
121 | |
122 <dl><dt><a name="InspectorNetworkException-__repr__"><strong>__repr__</strong></
a>(...)</dt><dd><tt>x.<a href="#InspectorNetworkException-__repr__">__repr__</a>
() <==> repr(x)</tt></dd></dl> | |
123 | |
124 <dl><dt><a name="InspectorNetworkException-__setattr__"><strong>__setattr__</str
ong></a>(...)</dt><dd><tt>x.<a href="#InspectorNetworkException-__setattr__">__s
etattr__</a>('name', value) <==> x.name = value</
tt></dd></dl> | |
125 | |
126 <dl><dt><a name="InspectorNetworkException-__setstate__"><strong>__setstate__</s
trong></a>(...)</dt></dl> | |
127 | |
128 <dl><dt><a name="InspectorNetworkException-__str__"><strong>__str__</strong></a>
(...)</dt><dd><tt>x.<a href="#InspectorNetworkException-__str__">__str__</a>()&n
bsp;<==> str(x)</tt></dd></dl> | |
129 | |
130 <dl><dt><a name="InspectorNetworkException-__unicode__"><strong>__unicode__</str
ong></a>(...)</dt></dl> | |
131 | |
132 <hr> | |
133 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptio
ns.BaseException</a>:<br> | |
134 <dl><dt><strong>__dict__</strong></dt> | |
135 </dl> | |
136 <dl><dt><strong>args</strong></dt> | |
137 </dl> | |
138 <dl><dt><strong>message</strong></dt> | |
139 </dl> | |
140 </td></tr></table> <p> | |
141 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
142 <tr bgcolor="#ffc8d8"> | |
143 <td colspan=3 valign=bottom> <br> | |
144 <font color="#000000" face="helvetica, arial"><a name="InspectorNetworkResponseD
ata">class <strong>InspectorNetworkResponseData</strong></a>(<a href="__builtin_
_.html#object">__builtin__.object</a>)</font></td></tr> | |
145 | |
146 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | |
147 <td width="100%">Methods defined here:<br> | |
148 <dl><dt><a name="InspectorNetworkResponseData-AsTimelineEvent"><strong>AsTimelin
eEvent</strong></a>(self)</dt></dl> | |
149 | |
150 <dl><dt><a name="InspectorNetworkResponseData-GetBody"><strong>GetBody</strong><
/a>(self, timeout<font color="#909090">=60</font>)</dt></dl> | |
151 | |
152 <dl><dt><a name="InspectorNetworkResponseData-GetHeader"><strong>GetHeader</stro
ng></a>(self, name)</dt></dl> | |
153 | |
154 <dl><dt><a name="InspectorNetworkResponseData-__init__"><strong>__init__</strong
></a>(self, inspector_network, params)</dt></dl> | |
155 | |
156 <dl><dt><a name="InspectorNetworkResponseData-status_text"><strong>status_text</
strong></a>(self)</dt></dl> | |
157 | |
158 <hr> | |
159 Static methods defined here:<br> | |
160 <dl><dt><a name="InspectorNetworkResponseData-FromTimelineEvent"><strong>FromTim
elineEvent</strong></a>(event)</dt></dl> | |
161 | |
162 <hr> | |
163 Data descriptors defined here:<br> | |
164 <dl><dt><strong>__dict__</strong></dt> | |
165 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | |
166 </dl> | |
167 <dl><dt><strong>__weakref__</strong></dt> | |
168 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
169 </dl> | |
170 <dl><dt><strong>headers</strong></dt> | |
171 </dl> | |
172 <dl><dt><strong>request_headers</strong></dt> | |
173 </dl> | |
174 <dl><dt><strong>request_id</strong></dt> | |
175 </dl> | |
176 <dl><dt><strong>served_from_cache</strong></dt> | |
177 </dl> | |
178 <dl><dt><strong>status</strong></dt> | |
179 </dl> | |
180 <dl><dt><strong>timestamp</strong></dt> | |
181 </dl> | |
182 <dl><dt><strong>timing</strong></dt> | |
183 </dl> | |
184 <dl><dt><strong>url</strong></dt> | |
185 </dl> | |
186 </td></tr></table> <p> | |
187 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
188 <tr bgcolor="#ffc8d8"> | |
189 <td colspan=3 valign=bottom> <br> | |
190 <font color="#000000" face="helvetica, arial"><a name="TimelineRecorder">class <
strong>TimelineRecorder</strong></a>(<a href="__builtin__.html#object">__builtin
__.object</a>)</font></td></tr> | |
191 | |
192 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | |
193 <td width="100%">Methods defined here:<br> | |
194 <dl><dt><a name="TimelineRecorder-Start"><strong>Start</strong></a>(self)</dt></
dl> | |
195 | |
196 <dl><dt><a name="TimelineRecorder-Stop"><strong>Stop</strong></a>(self)</dt></dl
> | |
197 | |
198 <dl><dt><a name="TimelineRecorder-__init__"><strong>__init__</strong></a>(self,
inspector_network)</dt></dl> | |
199 | |
200 <hr> | |
201 Data descriptors defined here:<br> | |
202 <dl><dt><strong>__dict__</strong></dt> | |
203 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | |
204 </dl> | |
205 <dl><dt><strong>__weakref__</strong></dt> | |
206 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
207 </dl> | |
208 </td></tr></table></td></tr></table> | |
209 </body></html> | |
OLD | NEW |