@ngrok/ngrok 0.4.0 → 0.5.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 +12 -2
- package/CONTRIBUTING.md +4 -4
- package/Cargo.toml +3 -3
- package/README.md +29 -29
- package/docs/assets/search.js +1 -1
- package/docs/classes/NgrokHttpTunnelBuilder.html +21 -21
- package/docs/classes/NgrokLabeledTunnelBuilder.html +4 -4
- package/docs/classes/NgrokSession.html +7 -7
- package/docs/classes/NgrokSessionBuilder.html +40 -15
- package/docs/classes/NgrokTcpTunnelBuilder.html +8 -8
- package/docs/classes/NgrokTlsTunnelBuilder.html +10 -10
- package/docs/classes/NgrokTunnel.html +10 -10
- package/docs/classes/UpdateRequest.html +3 -3
- package/docs/functions/authtoken.html +1 -1
- package/docs/functions/connect.html +1 -1
- package/docs/functions/consoleLog.html +1 -1
- package/docs/functions/disconnect.html +1 -1
- package/docs/functions/kill.html +1 -1
- package/docs/functions/listen.html +1 -1
- package/docs/functions/listenable.html +1 -1
- package/docs/functions/loggingCallback.html +1 -1
- package/docs/index.html +28 -28
- package/docs/interfaces/Config.html +53 -53
- package/examples/express/package.json +1 -1
- package/examples/fastify/package.json +1 -1
- package/examples/hapi/package.json +1 -1
- package/examples/koa/package.json +1 -1
- package/examples/nestjs/package.json +1 -1
- package/examples/nextjs/package.json +1 -1
- package/examples/ngrok-http-full.js +5 -2
- package/examples/ngrok-listen.js +1 -1
- package/examples/ngrok-windows-pipe.js +1 -1
- package/examples/package.json +6 -2
- package/examples/remix/package.json +1 -1
- package/examples/svelte/ngrok.config.cjs +3 -1
- package/examples/svelte/package.json +1 -1
- package/examples/vue/package.json +1 -1
- package/flake.nix +1 -1
- package/index.d.ts +13 -4
- package/index.js +9 -7
- package/package.json +15 -15
- package/src/session.rs +27 -4
- package/src/tunnel.rs +2 -2
- package/trailer.d.ts +1 -4
- package/trailer.js +9 -7
- package/examples/nestjs/package-lock.json +0 -12138
|
@@ -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-
|
|
28
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L406">index.d.ts:406</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-
|
|
86
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L462">index.d.ts:462</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-
|
|
104
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L437">index.d.ts:437</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-
|
|
120
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L424">index.d.ts:424</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-
|
|
130
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L417">index.d.ts:417</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-
|
|
146
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L467">index.d.ts:467</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-
|
|
161
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L413">index.d.ts:413</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,7 +174,7 @@ 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-
|
|
177
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L474">index.d.ts:474</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">
|
|
@@ -189,7 +189,7 @@ bearing on tunnel behavior.</p>
|
|
|
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
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-
|
|
192
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L457">index.d.ts:457</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-
|
|
207
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L455">index.d.ts:455</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-
|
|
222
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L415">index.d.ts:415</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-
|
|
245
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L443">index.d.ts:443</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-
|
|
271
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L448">index.d.ts:448</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-
|
|
286
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L469">index.d.ts:469</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-
|
|
301
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L430">index.d.ts:430</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-
|
|
316
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L432">index.d.ts:432</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-
|
|
333
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L426">index.d.ts:426</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-
|
|
350
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L428">index.d.ts:428</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-
|
|
366
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L411">index.d.ts:411</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-
|
|
384
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L453">index.d.ts:453</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-
|
|
394
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L419">index.d.ts:419</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">
|
|
@@ -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-
|
|
28
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L545">index.d.ts:545</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,7 +67,7 @@ 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-
|
|
70
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L551">index.d.ts:551</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">
|
|
@@ -82,7 +82,7 @@ r"</p>
|
|
|
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
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-
|
|
85
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L549">index.d.ts:549</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-
|
|
100
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L547">index.d.ts:547</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">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<ul class="tsd-hierarchy">
|
|
24
24
|
<li><span class="target">NgrokSession</span></li></ul></section><aside class="tsd-sources">
|
|
25
25
|
<ul>
|
|
26
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
26
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L340">index.d.ts:340</a></li></ul></aside>
|
|
27
27
|
<section class="tsd-panel-group tsd-index-group">
|
|
28
28
|
<section class="tsd-panel tsd-index-panel">
|
|
29
29
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</div>
|
|
62
62
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
63
63
|
<ul>
|
|
64
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
64
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L352">index.d.ts:352</a></li></ul></aside></li></ul></section>
|
|
65
65
|
<section class="tsd-panel tsd-member"><a id="closeTunnel" class="tsd-anchor"></a>
|
|
66
66
|
<h3 class="tsd-anchor-link"><span>close<wbr/>Tunnel</span><a href="#closeTunnel" 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>
|
|
67
67
|
<ul class="tsd-signatures">
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
<h5><span class="tsd-kind-parameter">id</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
77
77
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
78
78
|
<ul>
|
|
79
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
79
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L350">index.d.ts:350</a></li></ul></aside></li></ul></section>
|
|
80
80
|
<section class="tsd-panel tsd-member"><a id="httpEndpoint" class="tsd-anchor"></a>
|
|
81
81
|
<h3 class="tsd-anchor-link"><span>http<wbr/>Endpoint</span><a href="#httpEndpoint" 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>
|
|
82
82
|
<ul class="tsd-signatures">
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
</div>
|
|
87
87
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
88
88
|
<ul>
|
|
89
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
89
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L342">index.d.ts:342</a></li></ul></aside></li></ul></section>
|
|
90
90
|
<section class="tsd-panel tsd-member"><a id="labeledTunnel" class="tsd-anchor"></a>
|
|
91
91
|
<h3 class="tsd-anchor-link"><span>labeled<wbr/>Tunnel</span><a href="#labeledTunnel" 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>
|
|
92
92
|
<ul class="tsd-signatures">
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
</div>
|
|
97
97
|
<h4 class="tsd-returns-title">Returns <a href="NgrokLabeledTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokLabeledTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
98
98
|
<ul>
|
|
99
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
99
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L348">index.d.ts:348</a></li></ul></aside></li></ul></section>
|
|
100
100
|
<section class="tsd-panel tsd-member"><a id="tcpEndpoint" class="tsd-anchor"></a>
|
|
101
101
|
<h3 class="tsd-anchor-link"><span>tcp<wbr/>Endpoint</span><a href="#tcpEndpoint" 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>
|
|
102
102
|
<ul class="tsd-signatures">
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
</div>
|
|
107
107
|
<h4 class="tsd-returns-title">Returns <a href="NgrokTcpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokTcpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
108
108
|
<ul>
|
|
109
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
109
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L344">index.d.ts:344</a></li></ul></aside></li></ul></section>
|
|
110
110
|
<section class="tsd-panel tsd-member"><a id="tlsEndpoint" class="tsd-anchor"></a>
|
|
111
111
|
<h3 class="tsd-anchor-link"><span>tls<wbr/>Endpoint</span><a href="#tlsEndpoint" 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>
|
|
112
112
|
<ul class="tsd-signatures">
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
<h4 class="tsd-returns-title">Returns <a href="NgrokTlsTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokTlsTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
118
118
|
<ul>
|
|
119
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
119
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L346">index.d.ts:346</a></li></ul></aside></li></ul></section></section></div>
|
|
120
120
|
<div class="col-sidebar">
|
|
121
121
|
<div class="page-menu">
|
|
122
122
|
<div class="tsd-navigation settings">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<ul class="tsd-hierarchy">
|
|
24
24
|
<li><span class="target">NgrokSessionBuilder</span></li></ul></section><aside class="tsd-sources">
|
|
25
25
|
<ul>
|
|
26
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
26
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L190">index.d.ts:190</a></li></ul></aside>
|
|
27
27
|
<section class="tsd-panel-group tsd-index-group">
|
|
28
28
|
<section class="tsd-panel tsd-index-panel">
|
|
29
29
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
<div class="tsd-index-list"><a href="NgrokSessionBuilder.html#authtoken" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>authtoken</span></a>
|
|
39
39
|
<a href="NgrokSessionBuilder.html#authtokenFromEnv" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>authtoken<wbr/>From<wbr/>Env</span></a>
|
|
40
40
|
<a href="NgrokSessionBuilder.html#caCert" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>ca<wbr/>Cert</span></a>
|
|
41
|
+
<a href="NgrokSessionBuilder.html#clientInfo" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>client<wbr/>Info</span></a>
|
|
41
42
|
<a href="NgrokSessionBuilder.html#connect" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>connect</span></a>
|
|
42
43
|
<a href="NgrokSessionBuilder.html#handleDisconnection" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>handle<wbr/>Disconnection</span></a>
|
|
43
44
|
<a href="NgrokSessionBuilder.html#handleHeartbeat" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>handle<wbr/>Heartbeat</span></a>
|
|
@@ -60,7 +61,7 @@
|
|
|
60
61
|
</div>
|
|
61
62
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
62
63
|
<ul>
|
|
63
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
64
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L192">index.d.ts:192</a></li></ul></aside></li></ul></section></section>
|
|
64
65
|
<section class="tsd-panel-group tsd-member-group">
|
|
65
66
|
<h2>Methods</h2>
|
|
66
67
|
<section class="tsd-panel tsd-member"><a id="authtoken" class="tsd-anchor"></a>
|
|
@@ -80,7 +81,7 @@ dashboard.</p>
|
|
|
80
81
|
<h5><span class="tsd-kind-parameter">authtoken</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
81
82
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
82
83
|
<ul>
|
|
83
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
84
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L204">index.d.ts:204</a></li></ul></aside></li></ul></section>
|
|
84
85
|
<section class="tsd-panel tsd-member"><a id="authtokenFromEnv" class="tsd-anchor"></a>
|
|
85
86
|
<h3 class="tsd-anchor-link"><span>authtoken<wbr/>From<wbr/>Env</span><a href="#authtokenFromEnv" 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>
|
|
86
87
|
<ul class="tsd-signatures">
|
|
@@ -91,7 +92,7 @@ NGROK_AUTHTOKEN environment variable.</p>
|
|
|
91
92
|
</div>
|
|
92
93
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
93
94
|
<ul>
|
|
94
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
95
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L209">index.d.ts:209</a></li></ul></aside></li></ul></section>
|
|
95
96
|
<section class="tsd-panel tsd-member"><a id="caCert" class="tsd-anchor"></a>
|
|
96
97
|
<h3 class="tsd-anchor-link"><span>ca<wbr/>Cert</span><a href="#caCert" 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>
|
|
97
98
|
<ul class="tsd-signatures">
|
|
@@ -111,7 +112,30 @@ the server_addr call.</p>
|
|
|
111
112
|
<h5><span class="tsd-kind-parameter">certBytes</span>: <span class="tsd-signature-type ">Uint8Array</span></h5></li></ul></div>
|
|
112
113
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
113
114
|
<ul>
|
|
114
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
115
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L273">index.d.ts:273</a></li></ul></aside></li></ul></section>
|
|
116
|
+
<section class="tsd-panel tsd-member"><a id="clientInfo" class="tsd-anchor"></a>
|
|
117
|
+
<h3 class="tsd-anchor-link"><span>client<wbr/>Info</span><a href="#clientInfo" 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>
|
|
118
|
+
<ul class="tsd-signatures">
|
|
119
|
+
<li class="tsd-signature tsd-anchor-link" id="clientInfo.clientInfo-1"><span class="tsd-kind-call-signature">client<wbr/>Info</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">clientType</span>, <span class="tsd-kind-parameter">version</span>, <span class="tsd-kind-parameter">comments</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokSessionBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokSessionBuilder</a><a href="#clientInfo.clientInfo-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>
|
|
120
|
+
<li class="tsd-description">
|
|
121
|
+
<div class="tsd-comment tsd-typography"><p>Add client type and version information for a client application.</p>
|
|
122
|
+
<p>This is a way for applications and library consumers of this crate
|
|
123
|
+
identify themselves.</p>
|
|
124
|
+
<p>This will add a new entry to the <code>User-Agent</code> field in the "most significant"
|
|
125
|
+
(first) position. Comments must follow <a href="https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.6">RFC 7230</a> or a connection error may occur.</p>
|
|
126
|
+
</div>
|
|
127
|
+
<div class="tsd-parameters">
|
|
128
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
129
|
+
<ul class="tsd-parameter-list">
|
|
130
|
+
<li>
|
|
131
|
+
<h5><span class="tsd-kind-parameter">clientType</span>: <span class="tsd-signature-type">string</span></h5></li>
|
|
132
|
+
<li>
|
|
133
|
+
<h5><span class="tsd-kind-parameter">version</span>: <span class="tsd-signature-type">string</span></h5></li>
|
|
134
|
+
<li>
|
|
135
|
+
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">comments</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
136
|
+
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
137
|
+
<ul>
|
|
138
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L221">index.d.ts:221</a></li></ul></aside></li></ul></section>
|
|
115
139
|
<section class="tsd-panel tsd-member"><a id="connect" class="tsd-anchor"></a>
|
|
116
140
|
<h3 class="tsd-anchor-link"><span>connect</span><a href="#connect" 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>
|
|
117
141
|
<ul class="tsd-signatures">
|
|
@@ -121,7 +145,7 @@ the server_addr call.</p>
|
|
|
121
145
|
</div>
|
|
122
146
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="NgrokSession.html" class="tsd-signature-type tsd-kind-class">NgrokSession</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
123
147
|
<ul>
|
|
124
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
148
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L333">index.d.ts:333</a></li></ul></aside></li></ul></section>
|
|
125
149
|
<section class="tsd-panel tsd-member"><a id="handleDisconnection" class="tsd-anchor"></a>
|
|
126
150
|
<h3 class="tsd-anchor-link"><span>handle<wbr/>Disconnection</span><a href="#handleDisconnection" 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>
|
|
127
151
|
<ul class="tsd-signatures">
|
|
@@ -154,7 +178,7 @@ reconnect, returning false will cause the Session to throw an uncaught error.</p
|
|
|
154
178
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div>
|
|
155
179
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
156
180
|
<ul>
|
|
157
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
181
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L282">index.d.ts:282</a></li></ul></aside></li></ul></section>
|
|
158
182
|
<section class="tsd-panel tsd-member"><a id="handleHeartbeat" class="tsd-anchor"></a>
|
|
159
183
|
<h3 class="tsd-anchor-link"><span>handle<wbr/>Heartbeat</span><a href="#handleHeartbeat" 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>
|
|
160
184
|
<ul class="tsd-signatures">
|
|
@@ -183,7 +207,7 @@ in the session eventually dying as well.</p>
|
|
|
183
207
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
|
|
184
208
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
185
209
|
<ul>
|
|
186
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
210
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L331">index.d.ts:331</a></li></ul></aside></li></ul></section>
|
|
187
211
|
<section class="tsd-panel tsd-member"><a id="handleRestartCommand" class="tsd-anchor"></a>
|
|
188
212
|
<h3 class="tsd-anchor-link"><span>handle<wbr/>Restart<wbr/>Command</span><a href="#handleRestartCommand" 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>
|
|
189
213
|
<ul class="tsd-signatures">
|
|
@@ -212,7 +236,7 @@ callback, it will also cause the operation to time out.</p>
|
|
|
212
236
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
|
|
213
237
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
214
238
|
<ul>
|
|
215
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
239
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L309">index.d.ts:309</a></li></ul></aside></li></ul></section>
|
|
216
240
|
<section class="tsd-panel tsd-member"><a id="handleStopCommand" class="tsd-anchor"></a>
|
|
217
241
|
<h3 class="tsd-anchor-link"><span>handle<wbr/>Stop<wbr/>Command</span><a href="#handleStopCommand" 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>
|
|
218
242
|
<ul class="tsd-signatures">
|
|
@@ -240,7 +264,7 @@ callback, it will also cause the operation to time out.</p>
|
|
|
240
264
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
|
|
241
265
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
242
266
|
<ul>
|
|
243
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
267
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L295">index.d.ts:295</a></li></ul></aside></li></ul></section>
|
|
244
268
|
<section class="tsd-panel tsd-member"><a id="handleUpdateCommand" class="tsd-anchor"></a>
|
|
245
269
|
<h3 class="tsd-anchor-link"><span>handle<wbr/>Update<wbr/>Command</span><a href="#handleUpdateCommand" 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>
|
|
246
270
|
<ul class="tsd-signatures">
|
|
@@ -274,7 +298,7 @@ callback, it will also cause the operation to time out.</p>
|
|
|
274
298
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
|
|
275
299
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
276
300
|
<ul>
|
|
277
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
301
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L323">index.d.ts:323</a></li></ul></aside></li></ul></section>
|
|
278
302
|
<section class="tsd-panel tsd-member"><a id="heartbeatInterval" class="tsd-anchor"></a>
|
|
279
303
|
<h3 class="tsd-anchor-link"><span>heartbeat<wbr/>Interval</span><a href="#heartbeatInterval" 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>
|
|
280
304
|
<ul class="tsd-signatures">
|
|
@@ -292,7 +316,7 @@ details.</p>
|
|
|
292
316
|
<h5><span class="tsd-kind-parameter">heartbeatInterval</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
|
293
317
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
294
318
|
<ul>
|
|
295
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
319
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L231">index.d.ts:231</a></li></ul></aside></li></ul></section>
|
|
296
320
|
<section class="tsd-panel tsd-member"><a id="heartbeatTolerance" class="tsd-anchor"></a>
|
|
297
321
|
<h3 class="tsd-anchor-link"><span>heartbeat<wbr/>Tolerance</span><a href="#heartbeatTolerance" 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>
|
|
298
322
|
<ul class="tsd-signatures">
|
|
@@ -310,7 +334,7 @@ details.</p>
|
|
|
310
334
|
<h5><span class="tsd-kind-parameter">heartbeatTolerance</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
|
311
335
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
312
336
|
<ul>
|
|
313
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
337
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L241">index.d.ts:241</a></li></ul></aside></li></ul></section>
|
|
314
338
|
<section class="tsd-panel tsd-member"><a id="metadata" class="tsd-anchor"></a>
|
|
315
339
|
<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>
|
|
316
340
|
<ul class="tsd-signatures">
|
|
@@ -329,7 +353,7 @@ suggest encoding the value in a structured format like JSON.</p>
|
|
|
329
353
|
<h5><span class="tsd-kind-parameter">metadata</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
330
354
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
331
355
|
<ul>
|
|
332
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
356
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L252">index.d.ts:252</a></li></ul></aside></li></ul></section>
|
|
333
357
|
<section class="tsd-panel tsd-member"><a id="serverAddr" class="tsd-anchor"></a>
|
|
334
358
|
<h3 class="tsd-anchor-link"><span>server<wbr/>Addr</span><a href="#serverAddr" 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>
|
|
335
359
|
<ul class="tsd-signatures">
|
|
@@ -346,7 +370,7 @@ Use this option only if you are connecting to a custom agent ingress.</p>
|
|
|
346
370
|
<h5><span class="tsd-kind-parameter">addr</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
347
371
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
348
372
|
<ul>
|
|
349
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-
|
|
373
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-nodejs/blob/10ec511/index.d.ts#L261">index.d.ts:261</a></li></ul></aside></li></ul></section></section></div>
|
|
350
374
|
<div class="col-sidebar">
|
|
351
375
|
<div class="page-menu">
|
|
352
376
|
<div class="tsd-navigation settings">
|
|
@@ -370,6 +394,7 @@ Use this option only if you are connecting to a custom agent ingress.</p>
|
|
|
370
394
|
<li><a href="#authtoken" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>authtoken</span></a></li>
|
|
371
395
|
<li><a href="#authtokenFromEnv" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>authtoken<wbr/>From<wbr/>Env</span></a></li>
|
|
372
396
|
<li><a href="#caCert" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>ca<wbr/>Cert</span></a></li>
|
|
397
|
+
<li><a href="#clientInfo" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>client<wbr/>Info</span></a></li>
|
|
373
398
|
<li><a href="#connect" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>connect</span></a></li>
|
|
374
399
|
<li><a href="#handleDisconnection" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>handle<wbr/>Disconnection</span></a></li>
|
|
375
400
|
<li><a href="#handleHeartbeat" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>handle<wbr/>Heartbeat</span></a></li>
|