@ngrok/ngrok 0.1.1 → 0.2.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/.prettierrc.json +3 -0
- package/CHANGELOG.md +5 -0
- package/Cargo.toml +1 -1
- package/README.md +35 -1
- package/RELEASE.md +3 -3
- package/docs/assets/style.css +4 -5
- package/docs/classes/NgrokHttpTunnel.html +9 -9
- package/docs/classes/NgrokHttpTunnelBuilder.html +21 -21
- package/docs/classes/NgrokLabeledTunnel.html +8 -8
- package/docs/classes/NgrokLabeledTunnelBuilder.html +4 -4
- package/docs/classes/NgrokSession.html +7 -7
- package/docs/classes/NgrokSessionBuilder.html +15 -15
- package/docs/classes/NgrokTcpTunnel.html +9 -9
- package/docs/classes/NgrokTcpTunnelBuilder.html +8 -8
- package/docs/classes/NgrokTlsTunnel.html +9 -9
- package/docs/classes/NgrokTlsTunnelBuilder.html +10 -10
- package/docs/classes/UpdateRequest.html +3 -3
- package/docs/functions/consoleLog.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 +39 -1
- package/examples/express/ngrok-express-quickstart.js +11 -0
- package/examples/express/ngrok-express.js +28 -0
- package/examples/express/package.json +7 -0
- package/examples/fastify/ngrok-fastify.js +26 -0
- package/examples/fastify/package.json +7 -0
- package/examples/hapi/ngrok-hapi.js +35 -0
- package/examples/hapi/package.json +7 -0
- package/examples/koa/ngrok-koa.js +12 -0
- package/examples/koa/package.json +7 -0
- package/examples/nestjs/.eslintrc.js +25 -0
- package/examples/nestjs/.prettierrc +4 -0
- package/examples/nestjs/README.md +73 -0
- package/examples/nestjs/nest-cli.json +8 -0
- package/examples/nestjs/package-lock.json +12138 -0
- package/examples/nestjs/package.json +70 -0
- package/examples/nestjs/src/app.controller.spec.ts +22 -0
- package/examples/nestjs/src/app.controller.ts +12 -0
- package/examples/nestjs/src/app.module.ts +10 -0
- package/examples/nestjs/src/app.service.ts +8 -0
- package/examples/nestjs/src/main.ts +17 -0
- package/examples/nestjs/test/app.e2e-spec.ts +24 -0
- package/examples/nestjs/test/jest-e2e.json +9 -0
- package/examples/nestjs/tsconfig.build.json +4 -0
- package/examples/nestjs/tsconfig.json +21 -0
- package/examples/nextjs/next.config.js +12 -0
- package/examples/nextjs/ngrok.config.js +23 -0
- package/examples/nextjs/package.json +6 -0
- package/examples/nextjs/pages/index.js +5 -0
- package/examples/ngrok-http-full.js +28 -20
- package/examples/ngrok-http-minimum.js +21 -13
- package/examples/ngrok-labeled.js +21 -17
- package/examples/ngrok-listen.js +5 -6
- package/examples/ngrok-tcp.js +21 -17
- package/examples/ngrok-tls.js +22 -19
- package/examples/ngrok-typescript.ts +31 -26
- package/examples/ngrok-windows-pipe.js +22 -14
- package/examples/ngrok-winston.js +9 -9
- package/examples/package.json +11 -0
- package/examples/remix/.eslintrc.js +4 -0
- package/examples/remix/README.md +53 -0
- package/examples/remix/app/entry.client.tsx +18 -0
- package/examples/remix/app/entry.server.tsx +101 -0
- package/examples/remix/app/root.tsx +20 -0
- package/examples/remix/app/routes/_index.tsx +30 -0
- package/examples/remix/ngrok.config.js +16 -0
- package/examples/remix/package.json +30 -0
- package/examples/remix/public/favicon.ico +0 -0
- package/examples/remix/remix.config.js +16 -0
- package/examples/remix/remix.env.d.ts +2 -0
- package/examples/remix/tsconfig.json +22 -0
- package/examples/svelte/README.md +38 -0
- package/examples/svelte/jsconfig.json +17 -0
- package/examples/svelte/ngrok.config.cjs +18 -0
- package/examples/svelte/package.json +22 -0
- package/examples/svelte/src/app.d.ts +12 -0
- package/examples/svelte/src/app.html +12 -0
- package/examples/svelte/src/routes/+page.svelte +2 -0
- package/examples/svelte/static/favicon.png +0 -0
- package/examples/svelte/svelte.config.js +14 -0
- package/examples/svelte/vite.config.js +6 -0
- package/examples/vue/.vscode/extensions.json +3 -0
- package/examples/vue/README.md +40 -0
- package/examples/vue/env.d.ts +1 -0
- package/examples/vue/index.html +13 -0
- package/examples/vue/ngrok.config.ts +18 -0
- package/examples/vue/package.json +25 -0
- package/examples/vue/public/favicon.ico +0 -0
- package/examples/vue/src/App.vue +47 -0
- package/examples/vue/src/assets/base.css +74 -0
- package/examples/vue/src/assets/logo.svg +1 -0
- package/examples/vue/src/assets/main.css +35 -0
- package/examples/vue/src/components/HelloWorld.vue +40 -0
- package/examples/vue/src/components/TheWelcome.vue +86 -0
- package/examples/vue/src/components/WelcomeItem.vue +86 -0
- package/examples/vue/src/components/icons/IconCommunity.vue +7 -0
- package/examples/vue/src/components/icons/IconDocumentation.vue +7 -0
- package/examples/vue/src/components/icons/IconEcosystem.vue +7 -0
- package/examples/vue/src/components/icons/IconSupport.vue +7 -0
- package/examples/vue/src/components/icons/IconTooling.vue +19 -0
- package/examples/vue/src/main.ts +6 -0
- package/examples/vue/tsconfig.json +16 -0
- package/examples/vue/tsconfig.node.json +8 -0
- package/examples/vue/vite.config.ts +15 -0
- package/flake.nix +1 -1
- package/index.d.ts +9 -4
- package/index.js +27 -26
- package/package.json +19 -20
- package/post-build.js +18 -11
- package/scripts/gc-node-drop.js +38 -31
- package/scripts/gc-rust-drop.js +44 -38
- package/trailer.d.ts +9 -4
- package/trailer.js +27 -26
- package/examples/ngrok-express-quickstart.js +0 -11
- package/examples/ngrok-express.js +0 -26
|
@@ -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-js/blob/
|
|
26
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L147">index.d.ts:147</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-js/blob/
|
|
64
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L159">index.d.ts:159</a></li></ul></aside></li></ul></section>
|
|
65
65
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><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 tsd-kind-method tsd-parent-kind-class">
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
<h5>id: <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-js/blob/
|
|
79
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L157">index.d.ts:157</a></li></ul></aside></li></ul></section>
|
|
80
80
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><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 tsd-kind-method tsd-parent-kind-class">
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
</div>
|
|
87
87
|
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
88
88
|
<ul>
|
|
89
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
89
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L149">index.d.ts:149</a></li></ul></aside></li></ul></section>
|
|
90
90
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><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 tsd-kind-method tsd-parent-kind-class">
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
</div>
|
|
97
97
|
<h4 class="tsd-returns-title">Returns <a href="NgrokLabeledTunnelBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokLabeledTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
98
98
|
<ul>
|
|
99
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
99
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L155">index.d.ts:155</a></li></ul></aside></li></ul></section>
|
|
100
100
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><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 tsd-kind-method tsd-parent-kind-class">
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
</div>
|
|
107
107
|
<h4 class="tsd-returns-title">Returns <a href="NgrokTcpTunnelBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokTcpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
108
108
|
<ul>
|
|
109
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
109
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L151">index.d.ts:151</a></li></ul></aside></li></ul></section>
|
|
110
110
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><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 tsd-kind-method tsd-parent-kind-class">
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
<h4 class="tsd-returns-title">Returns <a href="NgrokTlsTunnelBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokTlsTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
118
118
|
<ul>
|
|
119
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
119
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L153">index.d.ts:153</a></li></ul></aside></li></ul></section></section></div>
|
|
120
120
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
121
121
|
<div class="tsd-navigation settings">
|
|
122
122
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -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-js/blob/
|
|
26
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L13">index.d.ts:13</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">
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
</div>
|
|
61
61
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
62
62
|
<ul>
|
|
63
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
63
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L15">index.d.ts:15</a></li></ul></aside></li></ul></section></section>
|
|
64
64
|
<section class="tsd-panel-group tsd-member-group">
|
|
65
65
|
<h2>Methods</h2>
|
|
66
66
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="authtoken" class="tsd-anchor"></a>
|
|
@@ -80,7 +80,7 @@ dashboard.</p>
|
|
|
80
80
|
<h5>authtoken: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
81
81
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
82
82
|
<ul>
|
|
83
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
83
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L27">index.d.ts:27</a></li></ul></aside></li></ul></section>
|
|
84
84
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="authtokenFromEnv" class="tsd-anchor"></a>
|
|
85
85
|
<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
86
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -91,7 +91,7 @@ NGROK_AUTHTOKEN environment variable.</p>
|
|
|
91
91
|
</div>
|
|
92
92
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
93
93
|
<ul>
|
|
94
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
94
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L32">index.d.ts:32</a></li></ul></aside></li></ul></section>
|
|
95
95
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="caCert" class="tsd-anchor"></a>
|
|
96
96
|
<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
97
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -111,7 +111,7 @@ the server_addr call.</p>
|
|
|
111
111
|
<h5>certBytes: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
|
112
112
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
113
113
|
<ul>
|
|
114
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
114
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L84">index.d.ts:84</a></li></ul></aside></li></ul></section>
|
|
115
115
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="connect" class="tsd-anchor"></a>
|
|
116
116
|
<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
117
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -121,7 +121,7 @@ the server_addr call.</p>
|
|
|
121
121
|
</div>
|
|
122
122
|
<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" data-tsd-kind="Class">NgrokSession</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
123
123
|
<ul>
|
|
124
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
124
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L144">index.d.ts:144</a></li></ul></aside></li></ul></section>
|
|
125
125
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="handleDisconnection" class="tsd-anchor"></a>
|
|
126
126
|
<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
127
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -154,7 +154,7 @@ reconnect, returning false will cause the Session to throw an uncaught error.</p
|
|
|
154
154
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div>
|
|
155
155
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
156
156
|
<ul>
|
|
157
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
157
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L93">index.d.ts:93</a></li></ul></aside></li></ul></section>
|
|
158
158
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="handleHeartbeat" class="tsd-anchor"></a>
|
|
159
159
|
<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
160
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -183,7 +183,7 @@ in the session eventually dying as well.</p>
|
|
|
183
183
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
|
|
184
184
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
185
185
|
<ul>
|
|
186
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
186
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L142">index.d.ts:142</a></li></ul></aside></li></ul></section>
|
|
187
187
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="handleRestartCommand" class="tsd-anchor"></a>
|
|
188
188
|
<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
189
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -212,7 +212,7 @@ callback, it will also cause the operation to time out.</p>
|
|
|
212
212
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
|
|
213
213
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
214
214
|
<ul>
|
|
215
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
215
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L120">index.d.ts:120</a></li></ul></aside></li></ul></section>
|
|
216
216
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="handleStopCommand" class="tsd-anchor"></a>
|
|
217
217
|
<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
218
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -240,7 +240,7 @@ callback, it will also cause the operation to time out.</p>
|
|
|
240
240
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
|
|
241
241
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
242
242
|
<ul>
|
|
243
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
243
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L106">index.d.ts:106</a></li></ul></aside></li></ul></section>
|
|
244
244
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="handleUpdateCommand" class="tsd-anchor"></a>
|
|
245
245
|
<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
246
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -274,7 +274,7 @@ callback, it will also cause the operation to time out.</p>
|
|
|
274
274
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
|
|
275
275
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
276
276
|
<ul>
|
|
277
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
277
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L134">index.d.ts:134</a></li></ul></aside></li></ul></section>
|
|
278
278
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="heartbeatInterval" class="tsd-anchor"></a>
|
|
279
279
|
<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
280
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -292,7 +292,7 @@ details.</p>
|
|
|
292
292
|
<h5>heartbeatInterval: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
|
293
293
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
294
294
|
<ul>
|
|
295
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
295
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L42">index.d.ts:42</a></li></ul></aside></li></ul></section>
|
|
296
296
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="heartbeatTolerance" class="tsd-anchor"></a>
|
|
297
297
|
<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
298
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -310,7 +310,7 @@ details.</p>
|
|
|
310
310
|
<h5>heartbeatTolerance: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
|
311
311
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
312
312
|
<ul>
|
|
313
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
313
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L52">index.d.ts:52</a></li></ul></aside></li></ul></section>
|
|
314
314
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="metadata" class="tsd-anchor"></a>
|
|
315
315
|
<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
316
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -329,7 +329,7 @@ suggest encoding the value in a structured format like JSON.</p>
|
|
|
329
329
|
<h5>metadata: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
330
330
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
331
331
|
<ul>
|
|
332
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
332
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L63">index.d.ts:63</a></li></ul></aside></li></ul></section>
|
|
333
333
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="serverAddr" class="tsd-anchor"></a>
|
|
334
334
|
<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
335
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -346,7 +346,7 @@ Use this option only if you are connecting to a custom agent ingress.</p>
|
|
|
346
346
|
<h5>addr: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
347
347
|
<h4 class="tsd-returns-title">Returns <a href="NgrokSessionBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokSessionBuilder</a></h4><aside class="tsd-sources">
|
|
348
348
|
<ul>
|
|
349
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
349
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L72">index.d.ts:72</a></li></ul></aside></li></ul></section></section></div>
|
|
350
350
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
351
351
|
<div class="tsd-navigation settings">
|
|
352
352
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<ul class="tsd-hierarchy">
|
|
24
24
|
<li><span class="target">NgrokTcpTunnel</span></li></ul></section><aside class="tsd-sources">
|
|
25
25
|
<ul>
|
|
26
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
26
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L202">index.d.ts:202</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">
|
|
@@ -66,7 +66,7 @@ tunnel's ID.</p>
|
|
|
66
66
|
</div>
|
|
67
67
|
<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">
|
|
68
68
|
<ul>
|
|
69
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
69
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L233">index.d.ts:233</a></li></ul></aside></li></ul></section>
|
|
70
70
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="forwardPipe" class="tsd-anchor"></a>
|
|
71
71
|
<h3 class="tsd-anchor-link"><span>forward<wbr/>Pipe</span><a href="#forwardPipe" 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>
|
|
72
72
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -83,7 +83,7 @@ On Windows addr can be a named pipe, e.e. "\.\pipe\an_ngrok_pipe"</p>
|
|
|
83
83
|
<h5>addr: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
84
84
|
<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">
|
|
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/26e020b/index.d.ts#L225">index.d.ts:225</a></li></ul></aside></li></ul></section>
|
|
87
87
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="forwardTcp" class="tsd-anchor"></a>
|
|
88
88
|
<h3 class="tsd-anchor-link"><span>forward<wbr/>Tcp</span><a href="#forwardTcp" 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 tsd-kind-method tsd-parent-kind-class">
|
|
@@ -98,7 +98,7 @@ On Windows addr can be a named pipe, e.e. "\.\pipe\an_ngrok_pipe"</p>
|
|
|
98
98
|
<h5>addr: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
99
99
|
<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">
|
|
100
100
|
<ul>
|
|
101
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
101
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L219">index.d.ts:219</a></li></ul></aside></li></ul></section>
|
|
102
102
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="forwardsTo" class="tsd-anchor"></a>
|
|
103
103
|
<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>
|
|
104
104
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -111,7 +111,7 @@ explicitly.</p>
|
|
|
111
111
|
</div>
|
|
112
112
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
113
113
|
<ul>
|
|
114
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
114
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L215">index.d.ts:215</a></li></ul></aside></li></ul></section>
|
|
115
115
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="id" class="tsd-anchor"></a>
|
|
116
116
|
<h3 class="tsd-anchor-link"><span>id</span><a href="#id" 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
117
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -121,7 +121,7 @@ explicitly.</p>
|
|
|
121
121
|
</div>
|
|
122
122
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
123
123
|
<ul>
|
|
124
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
124
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L208">index.d.ts:208</a></li></ul></aside></li></ul></section>
|
|
125
125
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="metadata" class="tsd-anchor"></a>
|
|
126
126
|
<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>
|
|
127
127
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -131,7 +131,7 @@ explicitly.</p>
|
|
|
131
131
|
</div>
|
|
132
132
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
133
133
|
<ul>
|
|
134
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
134
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L217">index.d.ts:217</a></li></ul></aside></li></ul></section>
|
|
135
135
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="proto" class="tsd-anchor"></a>
|
|
136
136
|
<h3 class="tsd-anchor-link"><span>proto</span><a href="#proto" 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>
|
|
137
137
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -141,7 +141,7 @@ explicitly.</p>
|
|
|
141
141
|
</div>
|
|
142
142
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
143
143
|
<ul>
|
|
144
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
144
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L206">index.d.ts:206</a></li></ul></aside></li></ul></section>
|
|
145
145
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="url" class="tsd-anchor"></a>
|
|
146
146
|
<h3 class="tsd-anchor-link"><span>url</span><a href="#url" 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>
|
|
147
147
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -151,7 +151,7 @@ explicitly.</p>
|
|
|
151
151
|
</div>
|
|
152
152
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
153
153
|
<ul>
|
|
154
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
154
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L204">index.d.ts:204</a></li></ul></aside></li></ul></section></section></div>
|
|
155
155
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
156
156
|
<div class="tsd-navigation settings">
|
|
157
157
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<ul class="tsd-hierarchy">
|
|
24
24
|
<li><span class="target">NgrokTcpTunnelBuilder</span></li></ul></section><aside class="tsd-sources">
|
|
25
25
|
<ul>
|
|
26
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
26
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L372">index.d.ts:372</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">
|
|
@@ -68,7 +68,7 @@ Call multiple times to add additional CIDR ranges.</p>
|
|
|
68
68
|
<h5>cidr: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
69
69
|
<h4 class="tsd-returns-title">Returns <a href="NgrokTcpTunnelBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokTcpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
70
70
|
<ul>
|
|
71
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
71
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L383">index.d.ts:383</a></li></ul></aside></li></ul></section>
|
|
72
72
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="denyCidr" class="tsd-anchor"></a>
|
|
73
73
|
<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>
|
|
74
74
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -84,7 +84,7 @@ Call multiple times to add additional CIDR ranges.</p>
|
|
|
84
84
|
<h5>cidr: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
85
85
|
<h4 class="tsd-returns-title">Returns <a href="NgrokTcpTunnelBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokTcpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
86
86
|
<ul>
|
|
87
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
87
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L388">index.d.ts:388</a></li></ul></aside></li></ul></section>
|
|
88
88
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="forwardsTo" class="tsd-anchor"></a>
|
|
89
89
|
<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>
|
|
90
90
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -100,7 +100,7 @@ bearing on tunnel behavior.</p>
|
|
|
100
100
|
<h5>forwardsTo: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
101
101
|
<h4 class="tsd-returns-title">Returns <a href="NgrokTcpTunnelBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokTcpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
102
102
|
<ul>
|
|
103
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
103
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L395">index.d.ts:395</a></li></ul></aside></li></ul></section>
|
|
104
104
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="listen" class="tsd-anchor"></a>
|
|
105
105
|
<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>
|
|
106
106
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -115,7 +115,7 @@ bearing on tunnel behavior.</p>
|
|
|
115
115
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> bind: <span class="tsd-signature-type">boolean</span></h5></li></ul></div>
|
|
116
116
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="NgrokTcpTunnel.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokTcpTunnel</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
117
117
|
<ul>
|
|
118
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
118
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L378">index.d.ts:378</a></li></ul></aside></li></ul></section>
|
|
119
119
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="metadata" class="tsd-anchor"></a>
|
|
120
120
|
<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>
|
|
121
121
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -130,7 +130,7 @@ bearing on tunnel behavior.</p>
|
|
|
130
130
|
<h5>metadata: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
131
131
|
<h4 class="tsd-returns-title">Returns <a href="NgrokTcpTunnelBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokTcpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
132
132
|
<ul>
|
|
133
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
133
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L376">index.d.ts:376</a></li></ul></aside></li></ul></section>
|
|
134
134
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="proxyProto" class="tsd-anchor"></a>
|
|
135
135
|
<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>
|
|
136
136
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -145,7 +145,7 @@ bearing on tunnel behavior.</p>
|
|
|
145
145
|
<h5>proxyProto: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
146
146
|
<h4 class="tsd-returns-title">Returns <a href="NgrokTcpTunnelBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokTcpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
147
147
|
<ul>
|
|
148
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
148
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L390">index.d.ts:390</a></li></ul></aside></li></ul></section>
|
|
149
149
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="remoteAddr" class="tsd-anchor"></a>
|
|
150
150
|
<h3 class="tsd-anchor-link"><span>remote<wbr/>Addr</span><a href="#remoteAddr" 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>
|
|
151
151
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -160,7 +160,7 @@ bearing on tunnel behavior.</p>
|
|
|
160
160
|
<h5>remoteAddr: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
161
161
|
<h4 class="tsd-returns-title">Returns <a href="NgrokTcpTunnelBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">NgrokTcpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
162
162
|
<ul>
|
|
163
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
163
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L374">index.d.ts:374</a></li></ul></aside></li></ul></section></section></div>
|
|
164
164
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
165
165
|
<div class="tsd-navigation settings">
|
|
166
166
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<ul class="tsd-hierarchy">
|
|
24
24
|
<li><span class="target">NgrokTlsTunnel</span></li></ul></section><aside class="tsd-sources">
|
|
25
25
|
<ul>
|
|
26
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
26
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L236">index.d.ts:236</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">
|
|
@@ -66,7 +66,7 @@ tunnel's ID.</p>
|
|
|
66
66
|
</div>
|
|
67
67
|
<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">
|
|
68
68
|
<ul>
|
|
69
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
69
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L267">index.d.ts:267</a></li></ul></aside></li></ul></section>
|
|
70
70
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="forwardPipe" class="tsd-anchor"></a>
|
|
71
71
|
<h3 class="tsd-anchor-link"><span>forward<wbr/>Pipe</span><a href="#forwardPipe" 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>
|
|
72
72
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -83,7 +83,7 @@ On Windows addr can be a named pipe, e.e. "\.\pipe\an_ngrok_pipe"</p>
|
|
|
83
83
|
<h5>addr: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
84
84
|
<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">
|
|
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/26e020b/index.d.ts#L259">index.d.ts:259</a></li></ul></aside></li></ul></section>
|
|
87
87
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="forwardTcp" class="tsd-anchor"></a>
|
|
88
88
|
<h3 class="tsd-anchor-link"><span>forward<wbr/>Tcp</span><a href="#forwardTcp" 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 tsd-kind-method tsd-parent-kind-class">
|
|
@@ -98,7 +98,7 @@ On Windows addr can be a named pipe, e.e. "\.\pipe\an_ngrok_pipe"</p>
|
|
|
98
98
|
<h5>addr: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
99
99
|
<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">
|
|
100
100
|
<ul>
|
|
101
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
101
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L253">index.d.ts:253</a></li></ul></aside></li></ul></section>
|
|
102
102
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="forwardsTo" class="tsd-anchor"></a>
|
|
103
103
|
<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>
|
|
104
104
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -111,7 +111,7 @@ explicitly.</p>
|
|
|
111
111
|
</div>
|
|
112
112
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
113
113
|
<ul>
|
|
114
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
114
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L249">index.d.ts:249</a></li></ul></aside></li></ul></section>
|
|
115
115
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="id" class="tsd-anchor"></a>
|
|
116
116
|
<h3 class="tsd-anchor-link"><span>id</span><a href="#id" 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
117
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -121,7 +121,7 @@ explicitly.</p>
|
|
|
121
121
|
</div>
|
|
122
122
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
123
123
|
<ul>
|
|
124
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
124
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L242">index.d.ts:242</a></li></ul></aside></li></ul></section>
|
|
125
125
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="metadata" class="tsd-anchor"></a>
|
|
126
126
|
<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>
|
|
127
127
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -131,7 +131,7 @@ explicitly.</p>
|
|
|
131
131
|
</div>
|
|
132
132
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
133
133
|
<ul>
|
|
134
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
134
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L251">index.d.ts:251</a></li></ul></aside></li></ul></section>
|
|
135
135
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="proto" class="tsd-anchor"></a>
|
|
136
136
|
<h3 class="tsd-anchor-link"><span>proto</span><a href="#proto" 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>
|
|
137
137
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -141,7 +141,7 @@ explicitly.</p>
|
|
|
141
141
|
</div>
|
|
142
142
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
143
143
|
<ul>
|
|
144
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
144
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L240">index.d.ts:240</a></li></ul></aside></li></ul></section>
|
|
145
145
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="url" class="tsd-anchor"></a>
|
|
146
146
|
<h3 class="tsd-anchor-link"><span>url</span><a href="#url" 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>
|
|
147
147
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -151,7 +151,7 @@ explicitly.</p>
|
|
|
151
151
|
</div>
|
|
152
152
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
153
153
|
<ul>
|
|
154
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
154
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/26e020b/index.d.ts#L238">index.d.ts:238</a></li></ul></aside></li></ul></section></section></div>
|
|
155
155
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
156
156
|
<div class="tsd-navigation settings">
|
|
157
157
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|