pagespeed-quest 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/command.js +23 -3
- package/build/docs/assets/css/main.css +1 -0
- package/build/docs/assets/images/icons.png +0 -0
- package/build/docs/assets/images/icons@2x.png +0 -0
- package/build/docs/assets/images/widgets.png +0 -0
- package/build/docs/assets/images/widgets@2x.png +0 -0
- package/build/docs/assets/js/main.js +51 -0
- package/build/docs/classes/inventoryrepository.html +305 -0
- package/build/docs/classes/playbackproxy.html +524 -0
- package/build/docs/classes/proxy.html +474 -0
- package/build/docs/classes/recordingproxy.html +532 -0
- package/build/docs/classes/testproxy.html +497 -0
- package/build/docs/classes/throttle.html +425 -0
- package/build/docs/classes/throttlinglog.html +174 -0
- package/build/docs/classes/throttlingtransform.html +6297 -0
- package/build/docs/globals.html +1131 -0
- package/build/docs/index.html +348 -0
- package/build/docs/interfaces/beautifyresult.html +174 -0
- package/build/docs/interfaces/contentencodingpair.html +174 -0
- package/build/docs/interfaces/inventory.html +174 -0
- package/build/docs/interfaces/lighthouseoptions.html +230 -0
- package/build/docs/interfaces/playbacktransaction.html +272 -0
- package/build/docs/interfaces/proxyoptions.html +423 -0
- package/build/docs/interfaces/recordingsession.html +174 -0
- package/build/docs/interfaces/recordingtransaction.html +286 -0
- package/build/docs/interfaces/resource.html +314 -0
- package/build/docs/interfaces/transaction.html +258 -0
- package/build/docs/interfaces/withproxyoptions.html +418 -0
- package/build/logger.d.ts +2 -0
- package/build/logger.js +15 -0
- package/build/proxy.d.ts +35 -0
- package/build/proxy.js +96 -0
- package/build/recording.d.ts +2 -0
- package/build/recording.js +125 -8
- package/build/throttling.d.ts +33 -0
- package/build/throttling.js +89 -0
- package/package.json +4 -4
- package/scripts/postinstall.js +1 -1
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="default no-js">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<title>ProxyOptions | pagespeed-quest</title>
|
|
7
|
+
<meta name="description" content="Documentation for pagespeed-quest">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<header>
|
|
13
|
+
<div class="tsd-page-toolbar">
|
|
14
|
+
<div class="container">
|
|
15
|
+
<div class="table-wrap">
|
|
16
|
+
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
|
17
|
+
<div class="field">
|
|
18
|
+
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
19
|
+
<input id="tsd-search-field" type="text" />
|
|
20
|
+
</div>
|
|
21
|
+
<ul class="results">
|
|
22
|
+
<li class="state loading">Preparing search index...</li>
|
|
23
|
+
<li class="state failure">The search index is not available</li>
|
|
24
|
+
</ul>
|
|
25
|
+
<a href="../index.html" class="title">pagespeed-quest</a>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="table-cell" id="tsd-widgets">
|
|
28
|
+
<div id="tsd-filter">
|
|
29
|
+
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
30
|
+
<div class="tsd-filter-group">
|
|
31
|
+
<div class="tsd-select" id="tsd-filter-visibility">
|
|
32
|
+
<span class="tsd-select-label">All</span>
|
|
33
|
+
<ul class="tsd-select-list">
|
|
34
|
+
<li data-value="public">Public</li>
|
|
35
|
+
<li data-value="protected">Public/Protected</li>
|
|
36
|
+
<li data-value="private" class="selected">All</li>
|
|
37
|
+
</ul>
|
|
38
|
+
</div>
|
|
39
|
+
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
40
|
+
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
41
|
+
<input type="checkbox" id="tsd-filter-externals" checked />
|
|
42
|
+
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
|
|
43
|
+
<input type="checkbox" id="tsd-filter-only-exported" />
|
|
44
|
+
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="tsd-page-title">
|
|
53
|
+
<div class="container">
|
|
54
|
+
<ul class="tsd-breadcrumb">
|
|
55
|
+
<li>
|
|
56
|
+
<a href="../globals.html">Globals</a>
|
|
57
|
+
</li>
|
|
58
|
+
<li>
|
|
59
|
+
<a href="proxyoptions.html">ProxyOptions</a>
|
|
60
|
+
</li>
|
|
61
|
+
</ul>
|
|
62
|
+
<h1>Interface ProxyOptions</h1>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</header>
|
|
66
|
+
<div class="container container-main">
|
|
67
|
+
<div class="row">
|
|
68
|
+
<div class="col-8 col-content">
|
|
69
|
+
<section class="tsd-panel tsd-hierarchy">
|
|
70
|
+
<h3>Hierarchy</h3>
|
|
71
|
+
<ul class="tsd-hierarchy">
|
|
72
|
+
<li>
|
|
73
|
+
<span class="tsd-signature-type">IProxyOptions</span>
|
|
74
|
+
<ul class="tsd-hierarchy">
|
|
75
|
+
<li>
|
|
76
|
+
<span class="target">ProxyOptions</span>
|
|
77
|
+
</li>
|
|
78
|
+
</ul>
|
|
79
|
+
</li>
|
|
80
|
+
</ul>
|
|
81
|
+
</section>
|
|
82
|
+
<section class="tsd-panel-group tsd-index-group">
|
|
83
|
+
<h2>Index</h2>
|
|
84
|
+
<section class="tsd-panel tsd-index-panel">
|
|
85
|
+
<div class="tsd-index-content">
|
|
86
|
+
<section class="tsd-index-section ">
|
|
87
|
+
<h3>Properties</h3>
|
|
88
|
+
<ul class="tsd-index-list">
|
|
89
|
+
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="proxyoptions.html#entryurl" class="tsd-kind-icon">entry<wbr>Url</a></li>
|
|
90
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="proxyoptions.html#forcechunkedrequest" class="tsd-kind-icon">force<wbr>Chunked<wbr>Request</a></li>
|
|
91
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="proxyoptions.html#forcesni" class="tsd-kind-icon">forceSNI</a></li>
|
|
92
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="proxyoptions.html#host" class="tsd-kind-icon">host</a></li>
|
|
93
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="proxyoptions.html#httpagent" class="tsd-kind-icon">http<wbr>Agent</a></li>
|
|
94
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="proxyoptions.html#httpsagent" class="tsd-kind-icon">https<wbr>Agent</a></li>
|
|
95
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="proxyoptions.html#httpsport" class="tsd-kind-icon">https<wbr>Port</a></li>
|
|
96
|
+
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="proxyoptions.html#inventoryrepository" class="tsd-kind-icon">inventory<wbr>Repository</a></li>
|
|
97
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="proxyoptions.html#keepalive" class="tsd-kind-icon">keep<wbr>Alive</a></li>
|
|
98
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="proxyoptions.html#port" class="tsd-kind-icon">port</a></li>
|
|
99
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="proxyoptions.html#sslcadir" class="tsd-kind-icon">ssl<wbr>CaDir</a></li>
|
|
100
|
+
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="proxyoptions.html#throttle" class="tsd-kind-icon">throttle</a></li>
|
|
101
|
+
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="proxyoptions.html#throttlingretryintervalms" class="tsd-kind-icon">throttling<wbr>Retry<wbr>Interval<wbr>Ms</a></li>
|
|
102
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="proxyoptions.html#timeout" class="tsd-kind-icon">timeout</a></li>
|
|
103
|
+
</ul>
|
|
104
|
+
</section>
|
|
105
|
+
</div>
|
|
106
|
+
</section>
|
|
107
|
+
</section>
|
|
108
|
+
<section class="tsd-panel-group tsd-member-group ">
|
|
109
|
+
<h2>Properties</h2>
|
|
110
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
111
|
+
<a name="entryurl" class="tsd-anchor"></a>
|
|
112
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> entry<wbr>Url</h3>
|
|
113
|
+
<div class="tsd-signature tsd-kind-icon">entry<wbr>Url<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
114
|
+
<aside class="tsd-sources">
|
|
115
|
+
<ul>
|
|
116
|
+
<li>Defined in <a href="https://github.com/ideamans/pagespeed-quest/blob/8dbbaab/src/proxy.ts#L19">src/proxy.ts:19</a></li>
|
|
117
|
+
</ul>
|
|
118
|
+
</aside>
|
|
119
|
+
</section>
|
|
120
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
121
|
+
<a name="forcechunkedrequest" class="tsd-anchor"></a>
|
|
122
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> force<wbr>Chunked<wbr>Request</h3>
|
|
123
|
+
<div class="tsd-signature tsd-kind-icon">force<wbr>Chunked<wbr>Request<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
124
|
+
<aside class="tsd-sources">
|
|
125
|
+
<p>Inherited from <a href="proxyoptions.html">ProxyOptions</a>.<a href="proxyoptions.html#forcechunkedrequest">forceChunkedRequest</a></p>
|
|
126
|
+
<ul>
|
|
127
|
+
<li>Defined in node_modules/http-mitm-proxy/index.d.ts:37</li>
|
|
128
|
+
</ul>
|
|
129
|
+
</aside>
|
|
130
|
+
<div class="tsd-comment tsd-typography">
|
|
131
|
+
<div class="lead">
|
|
132
|
+
<ul>
|
|
133
|
+
<li>Setting this option will remove the content-length from the proxy to server request, forcing chunked encoding</li>
|
|
134
|
+
</ul>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
</section>
|
|
138
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
139
|
+
<a name="forcesni" class="tsd-anchor"></a>
|
|
140
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> forceSNI</h3>
|
|
141
|
+
<div class="tsd-signature tsd-kind-icon">forceSNI<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
142
|
+
<aside class="tsd-sources">
|
|
143
|
+
<p>Inherited from <a href="proxyoptions.html">ProxyOptions</a>.<a href="proxyoptions.html#forcesni">forceSNI</a></p>
|
|
144
|
+
<ul>
|
|
145
|
+
<li>Defined in node_modules/http-mitm-proxy/index.d.ts:33</li>
|
|
146
|
+
</ul>
|
|
147
|
+
</aside>
|
|
148
|
+
<div class="tsd-comment tsd-typography">
|
|
149
|
+
<div class="lead">
|
|
150
|
+
<ul>
|
|
151
|
+
<li>force use of SNI by the client. Allow node-http-mitm-proxy to handle all HTTPS requests with a single internal server.</li>
|
|
152
|
+
</ul>
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
</section>
|
|
156
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
157
|
+
<a name="host" class="tsd-anchor"></a>
|
|
158
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> host</h3>
|
|
159
|
+
<div class="tsd-signature tsd-kind-icon">host<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
160
|
+
<aside class="tsd-sources">
|
|
161
|
+
<p>Inherited from <a href="proxyoptions.html">ProxyOptions</a>.<a href="proxyoptions.html#host">host</a></p>
|
|
162
|
+
<ul>
|
|
163
|
+
<li>Defined in node_modules/http-mitm-proxy/index.d.ts:21</li>
|
|
164
|
+
</ul>
|
|
165
|
+
</aside>
|
|
166
|
+
<div class="tsd-comment tsd-typography">
|
|
167
|
+
<div class="lead">
|
|
168
|
+
<p>host - The hostname or local address to listen on.</p>
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
</section>
|
|
172
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
173
|
+
<a name="httpagent" class="tsd-anchor"></a>
|
|
174
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> http<wbr>Agent</h3>
|
|
175
|
+
<div class="tsd-signature tsd-kind-icon">http<wbr>Agent<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Agent</span></div>
|
|
176
|
+
<aside class="tsd-sources">
|
|
177
|
+
<p>Inherited from <a href="proxyoptions.html">ProxyOptions</a>.<a href="proxyoptions.html#httpagent">httpAgent</a></p>
|
|
178
|
+
<ul>
|
|
179
|
+
<li>Defined in node_modules/http-mitm-proxy/index.d.ts:29</li>
|
|
180
|
+
</ul>
|
|
181
|
+
</aside>
|
|
182
|
+
<div class="tsd-comment tsd-typography">
|
|
183
|
+
<div class="lead">
|
|
184
|
+
<ul>
|
|
185
|
+
<li>The http.Agent to use when making http requests. Useful for chaining proxys. (default: internal Agent)</li>
|
|
186
|
+
</ul>
|
|
187
|
+
</div>
|
|
188
|
+
</div>
|
|
189
|
+
</section>
|
|
190
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
191
|
+
<a name="httpsagent" class="tsd-anchor"></a>
|
|
192
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> https<wbr>Agent</h3>
|
|
193
|
+
<div class="tsd-signature tsd-kind-icon">https<wbr>Agent<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Agent</span></div>
|
|
194
|
+
<aside class="tsd-sources">
|
|
195
|
+
<p>Inherited from <a href="proxyoptions.html">ProxyOptions</a>.<a href="proxyoptions.html#httpsagent">httpsAgent</a></p>
|
|
196
|
+
<ul>
|
|
197
|
+
<li>Defined in node_modules/http-mitm-proxy/index.d.ts:31</li>
|
|
198
|
+
</ul>
|
|
199
|
+
</aside>
|
|
200
|
+
<div class="tsd-comment tsd-typography">
|
|
201
|
+
<div class="lead">
|
|
202
|
+
<ul>
|
|
203
|
+
<li>The https.Agent to use when making https requests. Useful for chaining proxys. (default: internal Agent)</li>
|
|
204
|
+
</ul>
|
|
205
|
+
</div>
|
|
206
|
+
</div>
|
|
207
|
+
</section>
|
|
208
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
209
|
+
<a name="httpsport" class="tsd-anchor"></a>
|
|
210
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> https<wbr>Port</h3>
|
|
211
|
+
<div class="tsd-signature tsd-kind-icon">https<wbr>Port<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
212
|
+
<aside class="tsd-sources">
|
|
213
|
+
<p>Inherited from <a href="proxyoptions.html">ProxyOptions</a>.<a href="proxyoptions.html#httpsport">httpsPort</a></p>
|
|
214
|
+
<ul>
|
|
215
|
+
<li>Defined in node_modules/http-mitm-proxy/index.d.ts:35</li>
|
|
216
|
+
</ul>
|
|
217
|
+
</aside>
|
|
218
|
+
<div class="tsd-comment tsd-typography">
|
|
219
|
+
<div class="lead">
|
|
220
|
+
<ul>
|
|
221
|
+
<li>The port or named socket for https server to listen on. (forceSNI must be enabled)</li>
|
|
222
|
+
</ul>
|
|
223
|
+
</div>
|
|
224
|
+
</div>
|
|
225
|
+
</section>
|
|
226
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
227
|
+
<a name="inventoryrepository" class="tsd-anchor"></a>
|
|
228
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> inventory<wbr>Repository</h3>
|
|
229
|
+
<div class="tsd-signature tsd-kind-icon">inventory<wbr>Repository<span class="tsd-signature-symbol">:</span> <a href="../classes/inventoryrepository.html" class="tsd-signature-type">InventoryRepository</a></div>
|
|
230
|
+
<aside class="tsd-sources">
|
|
231
|
+
<ul>
|
|
232
|
+
<li>Defined in <a href="https://github.com/ideamans/pagespeed-quest/blob/8dbbaab/src/proxy.ts#L16">src/proxy.ts:16</a></li>
|
|
233
|
+
</ul>
|
|
234
|
+
</aside>
|
|
235
|
+
</section>
|
|
236
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
237
|
+
<a name="keepalive" class="tsd-anchor"></a>
|
|
238
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> keep<wbr>Alive</h3>
|
|
239
|
+
<div class="tsd-signature tsd-kind-icon">keep<wbr>Alive<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
240
|
+
<aside class="tsd-sources">
|
|
241
|
+
<p>Inherited from <a href="proxyoptions.html">ProxyOptions</a>.<a href="proxyoptions.html#keepalive">keepAlive</a></p>
|
|
242
|
+
<ul>
|
|
243
|
+
<li>Defined in node_modules/http-mitm-proxy/index.d.ts:25</li>
|
|
244
|
+
</ul>
|
|
245
|
+
</aside>
|
|
246
|
+
<div class="tsd-comment tsd-typography">
|
|
247
|
+
<div class="lead">
|
|
248
|
+
<ul>
|
|
249
|
+
<li>enable HTTP persistent connection</li>
|
|
250
|
+
</ul>
|
|
251
|
+
</div>
|
|
252
|
+
</div>
|
|
253
|
+
</section>
|
|
254
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
255
|
+
<a name="port" class="tsd-anchor"></a>
|
|
256
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> port</h3>
|
|
257
|
+
<div class="tsd-signature tsd-kind-icon">port<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
258
|
+
<aside class="tsd-sources">
|
|
259
|
+
<p>Inherited from <a href="proxyoptions.html">ProxyOptions</a>.<a href="proxyoptions.html#port">port</a></p>
|
|
260
|
+
<ul>
|
|
261
|
+
<li>Defined in node_modules/http-mitm-proxy/index.d.ts:19</li>
|
|
262
|
+
</ul>
|
|
263
|
+
</aside>
|
|
264
|
+
<div class="tsd-comment tsd-typography">
|
|
265
|
+
<div class="lead">
|
|
266
|
+
<p>port - The port or named socket to listen on (default: 8080).</p>
|
|
267
|
+
</div>
|
|
268
|
+
</div>
|
|
269
|
+
</section>
|
|
270
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
271
|
+
<a name="sslcadir" class="tsd-anchor"></a>
|
|
272
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> ssl<wbr>CaDir</h3>
|
|
273
|
+
<div class="tsd-signature tsd-kind-icon">ssl<wbr>CaDir<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
274
|
+
<aside class="tsd-sources">
|
|
275
|
+
<p>Inherited from <a href="proxyoptions.html">ProxyOptions</a>.<a href="proxyoptions.html#sslcadir">sslCaDir</a></p>
|
|
276
|
+
<ul>
|
|
277
|
+
<li>Defined in node_modules/http-mitm-proxy/index.d.ts:23</li>
|
|
278
|
+
</ul>
|
|
279
|
+
</aside>
|
|
280
|
+
<div class="tsd-comment tsd-typography">
|
|
281
|
+
<div class="lead">
|
|
282
|
+
<ul>
|
|
283
|
+
<li>Path to the certificates cache directory (default: process.cwd() + '/.http-mitm-proxy')</li>
|
|
284
|
+
</ul>
|
|
285
|
+
</div>
|
|
286
|
+
</div>
|
|
287
|
+
</section>
|
|
288
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
289
|
+
<a name="throttle" class="tsd-anchor"></a>
|
|
290
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> throttle</h3>
|
|
291
|
+
<div class="tsd-signature tsd-kind-icon">throttle<span class="tsd-signature-symbol">:</span> <a href="../classes/throttle.html" class="tsd-signature-type">Throttle</a></div>
|
|
292
|
+
<aside class="tsd-sources">
|
|
293
|
+
<ul>
|
|
294
|
+
<li>Defined in <a href="https://github.com/ideamans/pagespeed-quest/blob/8dbbaab/src/proxy.ts#L17">src/proxy.ts:17</a></li>
|
|
295
|
+
</ul>
|
|
296
|
+
</aside>
|
|
297
|
+
</section>
|
|
298
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
299
|
+
<a name="throttlingretryintervalms" class="tsd-anchor"></a>
|
|
300
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> throttling<wbr>Retry<wbr>Interval<wbr>Ms</h3>
|
|
301
|
+
<div class="tsd-signature tsd-kind-icon">throttling<wbr>Retry<wbr>Interval<wbr>Ms<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
302
|
+
<aside class="tsd-sources">
|
|
303
|
+
<ul>
|
|
304
|
+
<li>Defined in <a href="https://github.com/ideamans/pagespeed-quest/blob/8dbbaab/src/proxy.ts#L18">src/proxy.ts:18</a></li>
|
|
305
|
+
</ul>
|
|
306
|
+
</aside>
|
|
307
|
+
</section>
|
|
308
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
309
|
+
<a name="timeout" class="tsd-anchor"></a>
|
|
310
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> timeout</h3>
|
|
311
|
+
<div class="tsd-signature tsd-kind-icon">timeout<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
312
|
+
<aside class="tsd-sources">
|
|
313
|
+
<p>Inherited from <a href="proxyoptions.html">ProxyOptions</a>.<a href="proxyoptions.html#timeout">timeout</a></p>
|
|
314
|
+
<ul>
|
|
315
|
+
<li>Defined in node_modules/http-mitm-proxy/index.d.ts:27</li>
|
|
316
|
+
</ul>
|
|
317
|
+
</aside>
|
|
318
|
+
<div class="tsd-comment tsd-typography">
|
|
319
|
+
<div class="lead">
|
|
320
|
+
<ul>
|
|
321
|
+
<li>The number of milliseconds of inactivity before a socket is presumed to have timed out. Defaults to no timeout.</li>
|
|
322
|
+
</ul>
|
|
323
|
+
</div>
|
|
324
|
+
</div>
|
|
325
|
+
</section>
|
|
326
|
+
</section>
|
|
327
|
+
</div>
|
|
328
|
+
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
329
|
+
<nav class="tsd-navigation primary">
|
|
330
|
+
<ul>
|
|
331
|
+
<li class="globals ">
|
|
332
|
+
<a href="../globals.html"><em>Globals</em></a>
|
|
333
|
+
</li>
|
|
334
|
+
</ul>
|
|
335
|
+
</nav>
|
|
336
|
+
<nav class="tsd-navigation secondary menu-sticky">
|
|
337
|
+
<ul class="before-current">
|
|
338
|
+
</ul>
|
|
339
|
+
<ul class="current">
|
|
340
|
+
<li class="current tsd-kind-interface">
|
|
341
|
+
<a href="proxyoptions.html" class="tsd-kind-icon">Proxy<wbr>Options</a>
|
|
342
|
+
<ul>
|
|
343
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
344
|
+
<a href="proxyoptions.html#entryurl" class="tsd-kind-icon">entry<wbr>Url</a>
|
|
345
|
+
</li>
|
|
346
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
347
|
+
<a href="proxyoptions.html#forcechunkedrequest" class="tsd-kind-icon">force<wbr>Chunked<wbr>Request</a>
|
|
348
|
+
</li>
|
|
349
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
350
|
+
<a href="proxyoptions.html#forcesni" class="tsd-kind-icon">forceSNI</a>
|
|
351
|
+
</li>
|
|
352
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
353
|
+
<a href="proxyoptions.html#host" class="tsd-kind-icon">host</a>
|
|
354
|
+
</li>
|
|
355
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
356
|
+
<a href="proxyoptions.html#httpagent" class="tsd-kind-icon">http<wbr>Agent</a>
|
|
357
|
+
</li>
|
|
358
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
359
|
+
<a href="proxyoptions.html#httpsagent" class="tsd-kind-icon">https<wbr>Agent</a>
|
|
360
|
+
</li>
|
|
361
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
362
|
+
<a href="proxyoptions.html#httpsport" class="tsd-kind-icon">https<wbr>Port</a>
|
|
363
|
+
</li>
|
|
364
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
365
|
+
<a href="proxyoptions.html#inventoryrepository" class="tsd-kind-icon">inventory<wbr>Repository</a>
|
|
366
|
+
</li>
|
|
367
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
368
|
+
<a href="proxyoptions.html#keepalive" class="tsd-kind-icon">keep<wbr>Alive</a>
|
|
369
|
+
</li>
|
|
370
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
371
|
+
<a href="proxyoptions.html#port" class="tsd-kind-icon">port</a>
|
|
372
|
+
</li>
|
|
373
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
374
|
+
<a href="proxyoptions.html#sslcadir" class="tsd-kind-icon">ssl<wbr>CaDir</a>
|
|
375
|
+
</li>
|
|
376
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
377
|
+
<a href="proxyoptions.html#throttle" class="tsd-kind-icon">throttle</a>
|
|
378
|
+
</li>
|
|
379
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
380
|
+
<a href="proxyoptions.html#throttlingretryintervalms" class="tsd-kind-icon">throttling<wbr>Retry<wbr>Interval<wbr>Ms</a>
|
|
381
|
+
</li>
|
|
382
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
383
|
+
<a href="proxyoptions.html#timeout" class="tsd-kind-icon">timeout</a>
|
|
384
|
+
</li>
|
|
385
|
+
</ul>
|
|
386
|
+
</li>
|
|
387
|
+
</ul>
|
|
388
|
+
<ul class="after-current">
|
|
389
|
+
</ul>
|
|
390
|
+
</nav>
|
|
391
|
+
</div>
|
|
392
|
+
</div>
|
|
393
|
+
</div>
|
|
394
|
+
<footer class="with-border-bottom">
|
|
395
|
+
<div class="container">
|
|
396
|
+
<h2>Legend</h2>
|
|
397
|
+
<div class="tsd-legend-group">
|
|
398
|
+
<ul class="tsd-legend">
|
|
399
|
+
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
|
|
400
|
+
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
|
|
401
|
+
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
|
|
402
|
+
</ul>
|
|
403
|
+
<ul class="tsd-legend">
|
|
404
|
+
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
|
|
405
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
|
|
406
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
|
|
407
|
+
</ul>
|
|
408
|
+
<ul class="tsd-legend">
|
|
409
|
+
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
|
|
410
|
+
</ul>
|
|
411
|
+
<ul class="tsd-legend">
|
|
412
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
|
|
413
|
+
</ul>
|
|
414
|
+
</div>
|
|
415
|
+
</div>
|
|
416
|
+
</footer>
|
|
417
|
+
<div class="container tsd-generator">
|
|
418
|
+
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
|
|
419
|
+
</div>
|
|
420
|
+
<div class="overlay"></div>
|
|
421
|
+
<script src="../assets/js/main.js"></script>
|
|
422
|
+
</body>
|
|
423
|
+
</html>
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="default no-js">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<title>RecordingSession | pagespeed-quest</title>
|
|
7
|
+
<meta name="description" content="Documentation for pagespeed-quest">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<header>
|
|
13
|
+
<div class="tsd-page-toolbar">
|
|
14
|
+
<div class="container">
|
|
15
|
+
<div class="table-wrap">
|
|
16
|
+
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
|
17
|
+
<div class="field">
|
|
18
|
+
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
19
|
+
<input id="tsd-search-field" type="text" />
|
|
20
|
+
</div>
|
|
21
|
+
<ul class="results">
|
|
22
|
+
<li class="state loading">Preparing search index...</li>
|
|
23
|
+
<li class="state failure">The search index is not available</li>
|
|
24
|
+
</ul>
|
|
25
|
+
<a href="../index.html" class="title">pagespeed-quest</a>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="table-cell" id="tsd-widgets">
|
|
28
|
+
<div id="tsd-filter">
|
|
29
|
+
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
30
|
+
<div class="tsd-filter-group">
|
|
31
|
+
<div class="tsd-select" id="tsd-filter-visibility">
|
|
32
|
+
<span class="tsd-select-label">All</span>
|
|
33
|
+
<ul class="tsd-select-list">
|
|
34
|
+
<li data-value="public">Public</li>
|
|
35
|
+
<li data-value="protected">Public/Protected</li>
|
|
36
|
+
<li data-value="private" class="selected">All</li>
|
|
37
|
+
</ul>
|
|
38
|
+
</div>
|
|
39
|
+
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
40
|
+
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
41
|
+
<input type="checkbox" id="tsd-filter-externals" checked />
|
|
42
|
+
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
|
|
43
|
+
<input type="checkbox" id="tsd-filter-only-exported" />
|
|
44
|
+
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="tsd-page-title">
|
|
53
|
+
<div class="container">
|
|
54
|
+
<ul class="tsd-breadcrumb">
|
|
55
|
+
<li>
|
|
56
|
+
<a href="../globals.html">Globals</a>
|
|
57
|
+
</li>
|
|
58
|
+
<li>
|
|
59
|
+
<a href="recordingsession.html">RecordingSession</a>
|
|
60
|
+
</li>
|
|
61
|
+
</ul>
|
|
62
|
+
<h1>Interface RecordingSession</h1>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</header>
|
|
66
|
+
<div class="container container-main">
|
|
67
|
+
<div class="row">
|
|
68
|
+
<div class="col-8 col-content">
|
|
69
|
+
<section class="tsd-panel tsd-hierarchy">
|
|
70
|
+
<h3>Hierarchy</h3>
|
|
71
|
+
<ul class="tsd-hierarchy">
|
|
72
|
+
<li>
|
|
73
|
+
<span class="target">RecordingSession</span>
|
|
74
|
+
</li>
|
|
75
|
+
</ul>
|
|
76
|
+
</section>
|
|
77
|
+
<section class="tsd-panel-group tsd-index-group">
|
|
78
|
+
<h2>Index</h2>
|
|
79
|
+
<section class="tsd-panel tsd-index-panel">
|
|
80
|
+
<div class="tsd-index-content">
|
|
81
|
+
<section class="tsd-index-section ">
|
|
82
|
+
<h3>Properties</h3>
|
|
83
|
+
<ul class="tsd-index-list">
|
|
84
|
+
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="recordingsession.html#startedat" class="tsd-kind-icon">started<wbr>At</a></li>
|
|
85
|
+
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="recordingsession.html#transactions" class="tsd-kind-icon">transactions</a></li>
|
|
86
|
+
</ul>
|
|
87
|
+
</section>
|
|
88
|
+
</div>
|
|
89
|
+
</section>
|
|
90
|
+
</section>
|
|
91
|
+
<section class="tsd-panel-group tsd-member-group ">
|
|
92
|
+
<h2>Properties</h2>
|
|
93
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
94
|
+
<a name="startedat" class="tsd-anchor"></a>
|
|
95
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> started<wbr>At</h3>
|
|
96
|
+
<div class="tsd-signature tsd-kind-icon">started<wbr>At<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span></div>
|
|
97
|
+
<aside class="tsd-sources">
|
|
98
|
+
<ul>
|
|
99
|
+
<li>Defined in <a href="https://github.com/ideamans/pagespeed-quest/blob/8dbbaab/src/recording.ts#L21">src/recording.ts:21</a></li>
|
|
100
|
+
</ul>
|
|
101
|
+
</aside>
|
|
102
|
+
</section>
|
|
103
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
104
|
+
<a name="transactions" class="tsd-anchor"></a>
|
|
105
|
+
<h3>transactions</h3>
|
|
106
|
+
<div class="tsd-signature tsd-kind-icon">transactions<span class="tsd-signature-symbol">:</span> <a href="recordingtransaction.html" class="tsd-signature-type">RecordingTransaction</a><span class="tsd-signature-symbol">[]</span></div>
|
|
107
|
+
<aside class="tsd-sources">
|
|
108
|
+
<ul>
|
|
109
|
+
<li>Defined in <a href="https://github.com/ideamans/pagespeed-quest/blob/8dbbaab/src/recording.ts#L22">src/recording.ts:22</a></li>
|
|
110
|
+
</ul>
|
|
111
|
+
</aside>
|
|
112
|
+
</section>
|
|
113
|
+
</section>
|
|
114
|
+
</div>
|
|
115
|
+
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
116
|
+
<nav class="tsd-navigation primary">
|
|
117
|
+
<ul>
|
|
118
|
+
<li class="globals ">
|
|
119
|
+
<a href="../globals.html"><em>Globals</em></a>
|
|
120
|
+
</li>
|
|
121
|
+
</ul>
|
|
122
|
+
</nav>
|
|
123
|
+
<nav class="tsd-navigation secondary menu-sticky">
|
|
124
|
+
<ul class="before-current">
|
|
125
|
+
</ul>
|
|
126
|
+
<ul class="current">
|
|
127
|
+
<li class="current tsd-kind-interface">
|
|
128
|
+
<a href="recordingsession.html" class="tsd-kind-icon">Recording<wbr>Session</a>
|
|
129
|
+
<ul>
|
|
130
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
131
|
+
<a href="recordingsession.html#startedat" class="tsd-kind-icon">started<wbr>At</a>
|
|
132
|
+
</li>
|
|
133
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
134
|
+
<a href="recordingsession.html#transactions" class="tsd-kind-icon">transactions</a>
|
|
135
|
+
</li>
|
|
136
|
+
</ul>
|
|
137
|
+
</li>
|
|
138
|
+
</ul>
|
|
139
|
+
<ul class="after-current">
|
|
140
|
+
</ul>
|
|
141
|
+
</nav>
|
|
142
|
+
</div>
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
<footer class="with-border-bottom">
|
|
146
|
+
<div class="container">
|
|
147
|
+
<h2>Legend</h2>
|
|
148
|
+
<div class="tsd-legend-group">
|
|
149
|
+
<ul class="tsd-legend">
|
|
150
|
+
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
|
|
151
|
+
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
|
|
152
|
+
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
|
|
153
|
+
</ul>
|
|
154
|
+
<ul class="tsd-legend">
|
|
155
|
+
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
|
|
156
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
|
|
157
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
|
|
158
|
+
</ul>
|
|
159
|
+
<ul class="tsd-legend">
|
|
160
|
+
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
|
|
161
|
+
</ul>
|
|
162
|
+
<ul class="tsd-legend">
|
|
163
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
|
|
164
|
+
</ul>
|
|
165
|
+
</div>
|
|
166
|
+
</div>
|
|
167
|
+
</footer>
|
|
168
|
+
<div class="container tsd-generator">
|
|
169
|
+
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="overlay"></div>
|
|
172
|
+
<script src="../assets/js/main.js"></script>
|
|
173
|
+
</body>
|
|
174
|
+
</html>
|