@ngrok/ngrok 0.3.0 → 0.4.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/CHANGELOG.md +5 -0
- package/Cargo.toml +1 -1
- package/README.md +1 -1
- package/docs/assets/main.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +6 -4
- package/docs/classes/NgrokHttpTunnelBuilder.html +40 -43
- package/docs/classes/NgrokLabeledTunnelBuilder.html +23 -26
- package/docs/classes/NgrokSession.html +24 -27
- package/docs/classes/NgrokSessionBuilder.html +32 -35
- package/docs/classes/NgrokTcpTunnelBuilder.html +27 -30
- package/docs/classes/NgrokTlsTunnelBuilder.html +29 -32
- package/docs/classes/{NgrokTcpTunnel.html → NgrokTunnel.html} +54 -47
- package/docs/classes/UpdateRequest.html +20 -23
- package/docs/functions/authtoken.html +18 -21
- package/docs/functions/connect.html +18 -21
- package/docs/functions/consoleLog.html +18 -21
- package/docs/functions/disconnect.html +18 -21
- package/docs/functions/kill.html +18 -21
- package/docs/functions/listen.html +23 -25
- package/docs/functions/listenable.html +22 -29
- package/docs/functions/loggingCallback.html +18 -21
- package/docs/index.html +18 -21
- package/docs/interfaces/Config.html +70 -73
- package/docs/modules.html +32 -38
- package/index.d.ts +24 -134
- package/index.js +2 -5
- package/package.json +16 -15
- package/src/session.rs +2 -4
- package/src/tunnel.rs +108 -102
- package/src/tunnel_builder.rs +3 -2
- package/trailer.d.ts +11 -7
- package/typedoc.json +3 -0
- package/docs/classes/NgrokHttpTunnel.html +0 -226
- package/docs/classes/NgrokLabeledTunnel.html +0 -214
- package/docs/classes/NgrokTlsTunnel.html +0 -226
|
@@ -25,7 +25,7 @@ r"</p>
|
|
|
25
25
|
<ul class="tsd-hierarchy">
|
|
26
26
|
<li><span class="target">NgrokHttpTunnelBuilder</span></li></ul></section><aside class="tsd-sources">
|
|
27
27
|
<ul>
|
|
28
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
28
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L394">index.d.ts:394</a></li></ul></aside>
|
|
29
29
|
<section class="tsd-panel-group tsd-index-group">
|
|
30
30
|
<section class="tsd-panel tsd-index-panel">
|
|
31
31
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -83,7 +83,7 @@ Call multiple times to add additional CIDR ranges.</p>
|
|
|
83
83
|
<h5><span class="tsd-kind-parameter">cidr</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
84
84
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
85
85
|
<ul>
|
|
86
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
86
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L450">index.d.ts:450</a></li></ul></aside></li></ul></section>
|
|
87
87
|
<section class="tsd-panel tsd-member"><a id="basicAuth" class="tsd-anchor"></a>
|
|
88
88
|
<h3 class="tsd-anchor-link"><span>basic<wbr/>Auth</span><a href="#basicAuth" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
89
89
|
<ul class="tsd-signatures">
|
|
@@ -101,7 +101,7 @@ If not called, basic authentication is disabled.</p>
|
|
|
101
101
|
<h5><span class="tsd-kind-parameter">password</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
102
102
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
103
103
|
<ul>
|
|
104
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
104
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L425">index.d.ts:425</a></li></ul></aside></li></ul></section>
|
|
105
105
|
<section class="tsd-panel tsd-member"><a id="circuitBreaker" class="tsd-anchor"></a>
|
|
106
106
|
<h3 class="tsd-anchor-link"><span>circuit<wbr/>Breaker</span><a href="#circuitBreaker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
107
107
|
<ul class="tsd-signatures">
|
|
@@ -117,7 +117,7 @@ Disabled when 0.</p>
|
|
|
117
117
|
<h5><span class="tsd-kind-parameter">circuitBreaker</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
|
118
118
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
119
119
|
<ul>
|
|
120
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
120
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L412">index.d.ts:412</a></li></ul></aside></li></ul></section>
|
|
121
121
|
<section class="tsd-panel tsd-member"><a id="compression" class="tsd-anchor"></a>
|
|
122
122
|
<h3 class="tsd-anchor-link"><span>compression</span><a href="#compression" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
123
123
|
<ul class="tsd-signatures">
|
|
@@ -127,7 +127,7 @@ Disabled when 0.</p>
|
|
|
127
127
|
</div>
|
|
128
128
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
129
129
|
<ul>
|
|
130
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
130
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L405">index.d.ts:405</a></li></ul></aside></li></ul></section>
|
|
131
131
|
<section class="tsd-panel tsd-member"><a id="denyCidr" class="tsd-anchor"></a>
|
|
132
132
|
<h3 class="tsd-anchor-link"><span>deny<wbr/>Cidr</span><a href="#denyCidr" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
133
133
|
<ul class="tsd-signatures">
|
|
@@ -143,7 +143,7 @@ Call multiple times to add additional CIDR ranges.</p>
|
|
|
143
143
|
<h5><span class="tsd-kind-parameter">cidr</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
144
144
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
145
145
|
<ul>
|
|
146
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
146
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L455">index.d.ts:455</a></li></ul></aside></li></ul></section>
|
|
147
147
|
<section class="tsd-panel tsd-member"><a id="domain" class="tsd-anchor"></a>
|
|
148
148
|
<h3 class="tsd-anchor-link"><span>domain</span><a href="#domain" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
149
149
|
<ul class="tsd-signatures">
|
|
@@ -158,7 +158,7 @@ Call multiple times to add additional CIDR ranges.</p>
|
|
|
158
158
|
<h5><span class="tsd-kind-parameter">domain</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
159
159
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
160
160
|
<ul>
|
|
161
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
161
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L401">index.d.ts:401</a></li></ul></aside></li></ul></section>
|
|
162
162
|
<section class="tsd-panel tsd-member"><a id="forwardsTo" class="tsd-anchor"></a>
|
|
163
163
|
<h3 class="tsd-anchor-link"><span>forwards<wbr/>To</span><a href="#forwardsTo" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
164
164
|
<ul class="tsd-signatures">
|
|
@@ -174,11 +174,11 @@ bearing on tunnel behavior.</p>
|
|
|
174
174
|
<h5><span class="tsd-kind-parameter">forwardsTo</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
175
175
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
176
176
|
<ul>
|
|
177
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
177
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L462">index.d.ts:462</a></li></ul></aside></li></ul></section>
|
|
178
178
|
<section class="tsd-panel tsd-member"><a id="listen" class="tsd-anchor"></a>
|
|
179
179
|
<h3 class="tsd-anchor-link"><span>listen</span><a href="#listen" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
180
180
|
<ul class="tsd-signatures">
|
|
181
|
-
<li class="tsd-signature tsd-anchor-link" id="listen.listen-1"><span class="tsd-kind-call-signature">listen</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">bind</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="
|
|
181
|
+
<li class="tsd-signature tsd-anchor-link" id="listen.listen-1"><span class="tsd-kind-call-signature">listen</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">bind</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="NgrokTunnel.html" class="tsd-signature-type tsd-kind-class">NgrokTunnel</a><span class="tsd-signature-symbol">></span><a href="#listen.listen-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
182
182
|
<li class="tsd-description">
|
|
183
183
|
<div class="tsd-comment tsd-typography"><p>Begin listening for new connections on this tunnel.</p>
|
|
184
184
|
</div>
|
|
@@ -187,9 +187,9 @@ bearing on tunnel behavior.</p>
|
|
|
187
187
|
<ul class="tsd-parameter-list">
|
|
188
188
|
<li>
|
|
189
189
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">bind</span>: <span class="tsd-signature-type">boolean</span></h5></li></ul></div>
|
|
190
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="
|
|
190
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="NgrokTunnel.html" class="tsd-signature-type tsd-kind-class">NgrokTunnel</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
191
191
|
<ul>
|
|
192
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
192
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L445">index.d.ts:445</a></li></ul></aside></li></ul></section>
|
|
193
193
|
<section class="tsd-panel tsd-member"><a id="metadata" class="tsd-anchor"></a>
|
|
194
194
|
<h3 class="tsd-anchor-link"><span>metadata</span><a href="#metadata" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
195
195
|
<ul class="tsd-signatures">
|
|
@@ -204,7 +204,7 @@ bearing on tunnel behavior.</p>
|
|
|
204
204
|
<h5><span class="tsd-kind-parameter">metadata</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
205
205
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
206
206
|
<ul>
|
|
207
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
207
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L443">index.d.ts:443</a></li></ul></aside></li></ul></section>
|
|
208
208
|
<section class="tsd-panel tsd-member"><a id="mutualTlsca" class="tsd-anchor"></a>
|
|
209
209
|
<h3 class="tsd-anchor-link"><span>mutual<wbr/>Tlsca</span><a href="#mutualTlsca" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
210
210
|
<ul class="tsd-signatures">
|
|
@@ -219,7 +219,7 @@ bearing on tunnel behavior.</p>
|
|
|
219
219
|
<h5><span class="tsd-kind-parameter">mutualTlsca</span>: <span class="tsd-signature-type ">Uint8Array</span></h5></li></ul></div>
|
|
220
220
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
221
221
|
<ul>
|
|
222
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
222
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L403">index.d.ts:403</a></li></ul></aside></li></ul></section>
|
|
223
223
|
<section class="tsd-panel tsd-member"><a id="oauth" class="tsd-anchor"></a>
|
|
224
224
|
<h3 class="tsd-anchor-link"><span>oauth</span><a href="#oauth" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
225
225
|
<ul class="tsd-signatures">
|
|
@@ -242,7 +242,7 @@ If not called, OAuth is disabled.
|
|
|
242
242
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">scopes</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
|
243
243
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
244
244
|
<ul>
|
|
245
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
245
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L431">index.d.ts:431</a></li></ul></aside></li></ul></section>
|
|
246
246
|
<section class="tsd-panel tsd-member"><a id="oidc" class="tsd-anchor"></a>
|
|
247
247
|
<h3 class="tsd-anchor-link"><span>oidc</span><a href="#oidc" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
248
248
|
<ul class="tsd-signatures">
|
|
@@ -268,7 +268,7 @@ If not called, OIDC is disabled.</p>
|
|
|
268
268
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">scopes</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
|
269
269
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
270
270
|
<ul>
|
|
271
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
271
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L436">index.d.ts:436</a></li></ul></aside></li></ul></section>
|
|
272
272
|
<section class="tsd-panel tsd-member"><a id="proxyProto" class="tsd-anchor"></a>
|
|
273
273
|
<h3 class="tsd-anchor-link"><span>proxy<wbr/>Proto</span><a href="#proxyProto" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
274
274
|
<ul class="tsd-signatures">
|
|
@@ -283,7 +283,7 @@ If not called, OIDC is disabled.</p>
|
|
|
283
283
|
<h5><span class="tsd-kind-parameter">proxyProto</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
284
284
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
285
285
|
<ul>
|
|
286
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
286
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L457">index.d.ts:457</a></li></ul></aside></li></ul></section>
|
|
287
287
|
<section class="tsd-panel tsd-member"><a id="removeRequestHeader" class="tsd-anchor"></a>
|
|
288
288
|
<h3 class="tsd-anchor-link"><span>remove<wbr/>Request<wbr/>Header</span><a href="#removeRequestHeader" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
289
289
|
<ul class="tsd-signatures">
|
|
@@ -298,7 +298,7 @@ If not called, OIDC is disabled.</p>
|
|
|
298
298
|
<h5><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
299
299
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
300
300
|
<ul>
|
|
301
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
301
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L418">index.d.ts:418</a></li></ul></aside></li></ul></section>
|
|
302
302
|
<section class="tsd-panel tsd-member"><a id="removeResponseHeader" class="tsd-anchor"></a>
|
|
303
303
|
<h3 class="tsd-anchor-link"><span>remove<wbr/>Response<wbr/>Header</span><a href="#removeResponseHeader" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
304
304
|
<ul class="tsd-signatures">
|
|
@@ -313,7 +313,7 @@ If not called, OIDC is disabled.</p>
|
|
|
313
313
|
<h5><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
314
314
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
315
315
|
<ul>
|
|
316
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
316
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L420">index.d.ts:420</a></li></ul></aside></li></ul></section>
|
|
317
317
|
<section class="tsd-panel tsd-member"><a id="requestHeader" class="tsd-anchor"></a>
|
|
318
318
|
<h3 class="tsd-anchor-link"><span>request<wbr/>Header</span><a href="#requestHeader" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
319
319
|
<ul class="tsd-signatures">
|
|
@@ -330,7 +330,7 @@ If not called, OIDC is disabled.</p>
|
|
|
330
330
|
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
331
331
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
332
332
|
<ul>
|
|
333
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
333
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L414">index.d.ts:414</a></li></ul></aside></li></ul></section>
|
|
334
334
|
<section class="tsd-panel tsd-member"><a id="responseHeader" class="tsd-anchor"></a>
|
|
335
335
|
<h3 class="tsd-anchor-link"><span>response<wbr/>Header</span><a href="#responseHeader" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
336
336
|
<ul class="tsd-signatures">
|
|
@@ -347,7 +347,7 @@ If not called, OIDC is disabled.</p>
|
|
|
347
347
|
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
348
348
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
349
349
|
<ul>
|
|
350
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
350
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L416">index.d.ts:416</a></li></ul></aside></li></ul></section>
|
|
351
351
|
<section class="tsd-panel tsd-member"><a id="scheme" class="tsd-anchor"></a>
|
|
352
352
|
<h3 class="tsd-anchor-link"><span>scheme</span><a href="#scheme" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
353
353
|
<ul class="tsd-signatures">
|
|
@@ -363,7 +363,7 @@ Defaults to [Scheme::HTTPS].</p>
|
|
|
363
363
|
<h5><span class="tsd-kind-parameter">scheme</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
364
364
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
365
365
|
<ul>
|
|
366
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
366
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L399">index.d.ts:399</a></li></ul></aside></li></ul></section>
|
|
367
367
|
<section class="tsd-panel tsd-member"><a id="webhookVerification" class="tsd-anchor"></a>
|
|
368
368
|
<h3 class="tsd-anchor-link"><span>webhook<wbr/>Verification</span><a href="#webhookVerification" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
369
369
|
<ul class="tsd-signatures">
|
|
@@ -381,7 +381,7 @@ If not called, WebhookVerification is disabled.</p>
|
|
|
381
381
|
<h5><span class="tsd-kind-parameter">secret</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
382
382
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
383
383
|
<ul>
|
|
384
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
384
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L441">index.d.ts:441</a></li></ul></aside></li></ul></section>
|
|
385
385
|
<section class="tsd-panel tsd-member"><a id="websocketTcpConversion" class="tsd-anchor"></a>
|
|
386
386
|
<h3 class="tsd-anchor-link"><span>websocket<wbr/>Tcp<wbr/>Conversion</span><a href="#websocketTcpConversion" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
387
387
|
<ul class="tsd-signatures">
|
|
@@ -391,7 +391,7 @@ If not called, WebhookVerification is disabled.</p>
|
|
|
391
391
|
</div>
|
|
392
392
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
393
393
|
<ul>
|
|
394
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
394
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L407">index.d.ts:407</a></li></ul></aside></li></ul></section></section></div>
|
|
395
395
|
<div class="col-sidebar">
|
|
396
396
|
<div class="page-menu">
|
|
397
397
|
<div class="tsd-navigation settings">
|
|
@@ -436,25 +436,12 @@ If not called, WebhookVerification is disabled.</p>
|
|
|
436
436
|
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg><span>@ngrok/ngrok</span></a>
|
|
437
437
|
<ul class="tsd-small-nested-navigation">
|
|
438
438
|
<li>
|
|
439
|
-
<details class="tsd-index-accordion" data-key="
|
|
440
|
-
<div class="tsd-accordion-details">
|
|
441
|
-
<ul class="tsd-nested-navigation">
|
|
442
|
-
<li><a href="../interfaces/Config.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Config</span></a></li>
|
|
443
|
-
<li><a href="../functions/authtoken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg><span>authtoken</span></a></li>
|
|
444
|
-
<li><a href="../functions/connect.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>connect</span></a></li>
|
|
445
|
-
<li><a href="../functions/consoleLog.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>console<wbr/>Log</span></a></li>
|
|
446
|
-
<li><a href="../functions/disconnect.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>disconnect</span></a></li>
|
|
447
|
-
<li><a href="../functions/kill.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>kill</span></a></li>
|
|
448
|
-
<li><a href="../functions/listen.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>listen</span></a></li>
|
|
449
|
-
<li><a href="../functions/listenable.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>listenable</span></a></li>
|
|
450
|
-
<li><a href="../functions/loggingCallback.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>logging<wbr/>Callback</span></a></li></ul></div></details></li>
|
|
451
|
-
<li>
|
|
452
|
-
<details class="tsd-index-accordion" data-key="Sessions"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Sessions</span></summary>
|
|
439
|
+
<details class="tsd-index-accordion" data-key="Tunnel and Sessions"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Tunnel and Sessions</span></summary>
|
|
453
440
|
<div class="tsd-accordion-details">
|
|
454
441
|
<ul class="tsd-nested-navigation">
|
|
455
442
|
<li><a href="NgrokSession.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Ngrok<wbr/>Session</span></a></li>
|
|
456
443
|
<li><a href="NgrokSessionBuilder.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Session<wbr/>Builder</span></a></li>
|
|
457
|
-
<li><a href="
|
|
444
|
+
<li><a href="NgrokTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tunnel</span></a></li></ul></div></details></li>
|
|
458
445
|
<li>
|
|
459
446
|
<details class="tsd-index-accordion" data-key="Tunnel Builders"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Tunnel Builders</span></summary>
|
|
460
447
|
<div class="tsd-accordion-details">
|
|
@@ -464,13 +451,23 @@ If not called, WebhookVerification is disabled.</p>
|
|
|
464
451
|
<li><a href="NgrokTcpTunnelBuilder.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tcp<wbr/>Tunnel<wbr/>Builder</span></a></li>
|
|
465
452
|
<li><a href="NgrokTlsTunnelBuilder.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tls<wbr/>Tunnel<wbr/>Builder</span></a></li></ul></div></details></li>
|
|
466
453
|
<li>
|
|
467
|
-
<details class="tsd-index-accordion" data-key="
|
|
454
|
+
<details class="tsd-index-accordion" data-key="Functions"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Functions</span></summary>
|
|
455
|
+
<div class="tsd-accordion-details">
|
|
456
|
+
<ul class="tsd-nested-navigation">
|
|
457
|
+
<li><a href="../interfaces/Config.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Config</span></a></li>
|
|
458
|
+
<li><a href="../functions/authtoken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg><span>authtoken</span></a></li>
|
|
459
|
+
<li><a href="../functions/connect.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>connect</span></a></li>
|
|
460
|
+
<li><a href="../functions/consoleLog.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>console<wbr/>Log</span></a></li>
|
|
461
|
+
<li><a href="../functions/disconnect.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>disconnect</span></a></li>
|
|
462
|
+
<li><a href="../functions/kill.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>kill</span></a></li>
|
|
463
|
+
<li><a href="../functions/listen.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>listen</span></a></li>
|
|
464
|
+
<li><a href="../functions/listenable.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>listenable</span></a></li>
|
|
465
|
+
<li><a href="../functions/loggingCallback.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>logging<wbr/>Callback</span></a></li></ul></div></details></li>
|
|
466
|
+
<li>
|
|
467
|
+
<details class="tsd-index-accordion" data-key="Classes"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Classes</span></summary>
|
|
468
468
|
<div class="tsd-accordion-details">
|
|
469
469
|
<ul class="tsd-nested-navigation">
|
|
470
|
-
<li><a href="
|
|
471
|
-
<li><a href="NgrokLabeledTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Labeled<wbr/>Tunnel</span></a></li>
|
|
472
|
-
<li><a href="NgrokTcpTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tcp<wbr/>Tunnel</span></a></li>
|
|
473
|
-
<li><a href="NgrokTlsTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tls<wbr/>Tunnel</span></a></li></ul></div></details></li></ul></nav></div></div></div>
|
|
470
|
+
<li><a href="UpdateRequest.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Update<wbr/>Request</span></a></li></ul></div></details></li></ul></nav></div></div></div>
|
|
474
471
|
<div class="tsd-generator">
|
|
475
472
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
476
473
|
<div class="overlay"></div></body></html>
|
|
@@ -25,7 +25,7 @@ r"</p>
|
|
|
25
25
|
<ul class="tsd-hierarchy">
|
|
26
26
|
<li><span class="target">NgrokLabeledTunnelBuilder</span></li></ul></section><aside class="tsd-sources">
|
|
27
27
|
<ul>
|
|
28
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
28
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L533">index.d.ts:533</a></li></ul></aside>
|
|
29
29
|
<section class="tsd-panel-group tsd-index-group">
|
|
30
30
|
<section class="tsd-panel tsd-index-panel">
|
|
31
31
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -67,11 +67,11 @@ r"</p>
|
|
|
67
67
|
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
68
68
|
<h4 class="tsd-returns-title">Returns <a href="NgrokLabeledTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokLabeledTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
69
69
|
<ul>
|
|
70
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
70
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L539">index.d.ts:539</a></li></ul></aside></li></ul></section>
|
|
71
71
|
<section class="tsd-panel tsd-member"><a id="listen" class="tsd-anchor"></a>
|
|
72
72
|
<h3 class="tsd-anchor-link"><span>listen</span><a href="#listen" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
73
73
|
<ul class="tsd-signatures">
|
|
74
|
-
<li class="tsd-signature tsd-anchor-link" id="listen.listen-1"><span class="tsd-kind-call-signature">listen</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">bind</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="
|
|
74
|
+
<li class="tsd-signature tsd-anchor-link" id="listen.listen-1"><span class="tsd-kind-call-signature">listen</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">bind</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="NgrokTunnel.html" class="tsd-signature-type tsd-kind-class">NgrokTunnel</a><span class="tsd-signature-symbol">></span><a href="#listen.listen-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
75
75
|
<li class="tsd-description">
|
|
76
76
|
<div class="tsd-comment tsd-typography"><p>Begin listening for new connections on this tunnel.</p>
|
|
77
77
|
</div>
|
|
@@ -80,9 +80,9 @@ r"</p>
|
|
|
80
80
|
<ul class="tsd-parameter-list">
|
|
81
81
|
<li>
|
|
82
82
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">bind</span>: <span class="tsd-signature-type">boolean</span></h5></li></ul></div>
|
|
83
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="
|
|
83
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="NgrokTunnel.html" class="tsd-signature-type tsd-kind-class">NgrokTunnel</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
84
84
|
<ul>
|
|
85
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
85
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L537">index.d.ts:537</a></li></ul></aside></li></ul></section>
|
|
86
86
|
<section class="tsd-panel tsd-member"><a id="metadata" class="tsd-anchor"></a>
|
|
87
87
|
<h3 class="tsd-anchor-link"><span>metadata</span><a href="#metadata" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
88
88
|
<ul class="tsd-signatures">
|
|
@@ -97,7 +97,7 @@ r"</p>
|
|
|
97
97
|
<h5><span class="tsd-kind-parameter">metadata</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
98
98
|
<h4 class="tsd-returns-title">Returns <a href="NgrokLabeledTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokLabeledTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
99
99
|
<ul>
|
|
100
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
100
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L535">index.d.ts:535</a></li></ul></aside></li></ul></section></section></div>
|
|
101
101
|
<div class="col-sidebar">
|
|
102
102
|
<div class="page-menu">
|
|
103
103
|
<div class="tsd-navigation settings">
|
|
@@ -125,25 +125,12 @@ r"</p>
|
|
|
125
125
|
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg><span>@ngrok/ngrok</span></a>
|
|
126
126
|
<ul class="tsd-small-nested-navigation">
|
|
127
127
|
<li>
|
|
128
|
-
<details class="tsd-index-accordion" data-key="
|
|
129
|
-
<div class="tsd-accordion-details">
|
|
130
|
-
<ul class="tsd-nested-navigation">
|
|
131
|
-
<li><a href="../interfaces/Config.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Config</span></a></li>
|
|
132
|
-
<li><a href="../functions/authtoken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg><span>authtoken</span></a></li>
|
|
133
|
-
<li><a href="../functions/connect.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>connect</span></a></li>
|
|
134
|
-
<li><a href="../functions/consoleLog.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>console<wbr/>Log</span></a></li>
|
|
135
|
-
<li><a href="../functions/disconnect.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>disconnect</span></a></li>
|
|
136
|
-
<li><a href="../functions/kill.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>kill</span></a></li>
|
|
137
|
-
<li><a href="../functions/listen.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>listen</span></a></li>
|
|
138
|
-
<li><a href="../functions/listenable.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>listenable</span></a></li>
|
|
139
|
-
<li><a href="../functions/loggingCallback.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>logging<wbr/>Callback</span></a></li></ul></div></details></li>
|
|
140
|
-
<li>
|
|
141
|
-
<details class="tsd-index-accordion" data-key="Sessions"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Sessions</span></summary>
|
|
128
|
+
<details class="tsd-index-accordion" data-key="Tunnel and Sessions"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Tunnel and Sessions</span></summary>
|
|
142
129
|
<div class="tsd-accordion-details">
|
|
143
130
|
<ul class="tsd-nested-navigation">
|
|
144
131
|
<li><a href="NgrokSession.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Ngrok<wbr/>Session</span></a></li>
|
|
145
132
|
<li><a href="NgrokSessionBuilder.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Session<wbr/>Builder</span></a></li>
|
|
146
|
-
<li><a href="
|
|
133
|
+
<li><a href="NgrokTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tunnel</span></a></li></ul></div></details></li>
|
|
147
134
|
<li>
|
|
148
135
|
<details class="tsd-index-accordion" data-key="Tunnel Builders"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Tunnel Builders</span></summary>
|
|
149
136
|
<div class="tsd-accordion-details">
|
|
@@ -153,13 +140,23 @@ r"</p>
|
|
|
153
140
|
<li><a href="NgrokTcpTunnelBuilder.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tcp<wbr/>Tunnel<wbr/>Builder</span></a></li>
|
|
154
141
|
<li><a href="NgrokTlsTunnelBuilder.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tls<wbr/>Tunnel<wbr/>Builder</span></a></li></ul></div></details></li>
|
|
155
142
|
<li>
|
|
156
|
-
<details class="tsd-index-accordion" data-key="
|
|
143
|
+
<details class="tsd-index-accordion" data-key="Functions"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Functions</span></summary>
|
|
144
|
+
<div class="tsd-accordion-details">
|
|
145
|
+
<ul class="tsd-nested-navigation">
|
|
146
|
+
<li><a href="../interfaces/Config.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Config</span></a></li>
|
|
147
|
+
<li><a href="../functions/authtoken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg><span>authtoken</span></a></li>
|
|
148
|
+
<li><a href="../functions/connect.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>connect</span></a></li>
|
|
149
|
+
<li><a href="../functions/consoleLog.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>console<wbr/>Log</span></a></li>
|
|
150
|
+
<li><a href="../functions/disconnect.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>disconnect</span></a></li>
|
|
151
|
+
<li><a href="../functions/kill.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>kill</span></a></li>
|
|
152
|
+
<li><a href="../functions/listen.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>listen</span></a></li>
|
|
153
|
+
<li><a href="../functions/listenable.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>listenable</span></a></li>
|
|
154
|
+
<li><a href="../functions/loggingCallback.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>logging<wbr/>Callback</span></a></li></ul></div></details></li>
|
|
155
|
+
<li>
|
|
156
|
+
<details class="tsd-index-accordion" data-key="Classes"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Classes</span></summary>
|
|
157
157
|
<div class="tsd-accordion-details">
|
|
158
158
|
<ul class="tsd-nested-navigation">
|
|
159
|
-
<li><a href="
|
|
160
|
-
<li><a href="NgrokLabeledTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Labeled<wbr/>Tunnel</span></a></li>
|
|
161
|
-
<li><a href="NgrokTcpTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tcp<wbr/>Tunnel</span></a></li>
|
|
162
|
-
<li><a href="NgrokTlsTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tls<wbr/>Tunnel</span></a></li></ul></div></details></li></ul></nav></div></div></div>
|
|
159
|
+
<li><a href="UpdateRequest.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Update<wbr/>Request</span></a></li></ul></div></details></li></ul></nav></div></div></div>
|
|
163
160
|
<div class="tsd-generator">
|
|
164
161
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
165
162
|
<div class="overlay"></div></body></html>
|