@ngrok/ngrok 0.1.1 → 0.3.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 +10 -0
- package/Cargo.toml +1 -1
- package/README.md +51 -10
- package/RELEASE.md +3 -3
- package/docs/assets/highlight.css +13 -6
- package/docs/assets/main.js +3 -3
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +447 -362
- package/docs/classes/NgrokHttpTunnel.html +112 -77
- package/docs/classes/NgrokHttpTunnelBuilder.html +235 -199
- package/docs/classes/NgrokLabeledTunnel.html +107 -72
- package/docs/classes/NgrokLabeledTunnelBuilder.html +84 -49
- package/docs/classes/NgrokSession.html +99 -66
- package/docs/classes/NgrokSessionBuilder.html +171 -138
- package/docs/classes/NgrokTcpTunnel.html +112 -77
- package/docs/classes/NgrokTcpTunnelBuilder.html +115 -80
- package/docs/classes/NgrokTlsTunnel.html +112 -77
- package/docs/classes/NgrokTlsTunnelBuilder.html +133 -98
- package/docs/classes/UpdateRequest.html +69 -33
- package/docs/functions/authtoken.html +88 -0
- package/docs/functions/connect.html +88 -0
- package/docs/functions/consoleLog.html +50 -34
- package/docs/functions/disconnect.html +88 -0
- package/docs/functions/kill.html +83 -0
- package/docs/functions/listen.html +52 -36
- package/docs/functions/listenable.html +51 -35
- package/docs/functions/loggingCallback.html +56 -40
- package/docs/index.html +115 -84
- package/docs/interfaces/Config.html +608 -0
- package/docs/modules.html +74 -47
- 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-connect-full.js +64 -0
- package/examples/ngrok-connect-minimal.js +16 -0
- package/examples/ngrok-http-full.js +28 -22
- package/examples/ngrok-http-minimum.js +17 -13
- package/examples/ngrok-labeled.js +22 -18
- package/examples/ngrok-listen.js +6 -7
- package/examples/ngrok-tcp.js +22 -19
- package/examples/ngrok-tls.js +23 -20
- package/examples/ngrok-typescript.ts +32 -27
- 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 +243 -19
- package/index.js +145 -29
- package/package.json +20 -21
- package/post-build.js +18 -11
- package/scripts/gc-node-drop.js +38 -31
- package/scripts/gc-rust-drop.js +44 -38
- package/src/config.rs +182 -0
- package/src/connect.rs +328 -0
- package/src/http.rs +5 -4
- package/src/lib.rs +2 -0
- package/src/session.rs +61 -4
- package/src/tls.rs +1 -1
- package/src/tunnel.rs +105 -37
- package/src/tunnel_builder.rs +8 -0
- package/trailer.d.ts +9 -4
- package/trailer.js +140 -28
- package/examples/ngrok-express-quickstart.js +0 -11
- package/examples/ngrok-express.js +0 -26
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NgrokHttpTunnelBuilder | @ngrok/ngrok</title><meta name="description" content="Documentation for @ngrok/ngrok"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NgrokHttpTunnelBuilder | @ngrok/ngrok</title><meta name="description" content="Documentation for @ngrok/ngrok"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -9,21 +9,23 @@
|
|
|
9
9
|
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ngrok/ngrok</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
|
-
<div class="col-
|
|
12
|
+
<div class="col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
15
|
<li><a href="../modules.html">@ngrok/ngrok</a></li>
|
|
16
16
|
<li><a href="NgrokHttpTunnelBuilder.html">NgrokHttpTunnelBuilder</a></li></ul>
|
|
17
17
|
<h1>Class NgrokHttpTunnelBuilder</h1></div>
|
|
18
18
|
<section class="tsd-panel tsd-comment">
|
|
19
|
-
<div class="tsd-comment tsd-typography"><p>r" An ngrok tunnel backing an HTTP endpoint
|
|
19
|
+
<div class="tsd-comment tsd-typography"><p>r" An ngrok tunnel backing an HTTP endpoint.
|
|
20
|
+
r"
|
|
21
|
+
r"</p>
|
|
20
22
|
</div></section>
|
|
21
23
|
<section class="tsd-panel tsd-hierarchy">
|
|
22
24
|
<h4>Hierarchy</h4>
|
|
23
25
|
<ul class="tsd-hierarchy">
|
|
24
26
|
<li><span class="target">NgrokHttpTunnelBuilder</span></li></ul></section><aside class="tsd-sources">
|
|
25
27
|
<ul>
|
|
26
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
28
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L508">index.d.ts:508</a></li></ul></aside>
|
|
27
29
|
<section class="tsd-panel-group tsd-index-group">
|
|
28
30
|
<section class="tsd-panel tsd-index-panel">
|
|
29
31
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -31,45 +33,45 @@
|
|
|
31
33
|
<div class="tsd-accordion-details">
|
|
32
34
|
<section class="tsd-index-section">
|
|
33
35
|
<h3 class="tsd-index-heading">Constructors</h3>
|
|
34
|
-
<div class="tsd-index-list"><a href="NgrokHttpTunnelBuilder.html#constructor" class="tsd-index-link
|
|
36
|
+
<div class="tsd-index-list"><a href="NgrokHttpTunnelBuilder.html#constructor" 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="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
|
35
37
|
</div></section>
|
|
36
38
|
<section class="tsd-index-section">
|
|
37
39
|
<h3 class="tsd-index-heading">Methods</h3>
|
|
38
|
-
<div class="tsd-index-list"><a href="NgrokHttpTunnelBuilder.html#allowCidr" class="tsd-index-link
|
|
39
|
-
<a href="NgrokHttpTunnelBuilder.html#basicAuth" class="tsd-index-link
|
|
40
|
-
<a href="NgrokHttpTunnelBuilder.html#circuitBreaker" class="tsd-index-link
|
|
41
|
-
<a href="NgrokHttpTunnelBuilder.html#compression" class="tsd-index-link
|
|
42
|
-
<a href="NgrokHttpTunnelBuilder.html#denyCidr" class="tsd-index-link
|
|
43
|
-
<a href="NgrokHttpTunnelBuilder.html#domain" class="tsd-index-link
|
|
44
|
-
<a href="NgrokHttpTunnelBuilder.html#forwardsTo" class="tsd-index-link
|
|
45
|
-
<a href="NgrokHttpTunnelBuilder.html#listen" class="tsd-index-link
|
|
46
|
-
<a href="NgrokHttpTunnelBuilder.html#metadata" class="tsd-index-link
|
|
47
|
-
<a href="NgrokHttpTunnelBuilder.html#mutualTlsca" class="tsd-index-link
|
|
48
|
-
<a href="NgrokHttpTunnelBuilder.html#oauth" class="tsd-index-link
|
|
49
|
-
<a href="NgrokHttpTunnelBuilder.html#oidc" class="tsd-index-link
|
|
50
|
-
<a href="NgrokHttpTunnelBuilder.html#proxyProto" class="tsd-index-link
|
|
51
|
-
<a href="NgrokHttpTunnelBuilder.html#removeRequestHeader" class="tsd-index-link
|
|
52
|
-
<a href="NgrokHttpTunnelBuilder.html#removeResponseHeader" class="tsd-index-link
|
|
53
|
-
<a href="NgrokHttpTunnelBuilder.html#requestHeader" class="tsd-index-link
|
|
54
|
-
<a href="NgrokHttpTunnelBuilder.html#responseHeader" class="tsd-index-link
|
|
55
|
-
<a href="NgrokHttpTunnelBuilder.html#scheme" class="tsd-index-link
|
|
56
|
-
<a href="NgrokHttpTunnelBuilder.html#webhookVerification" class="tsd-index-link
|
|
57
|
-
<a href="NgrokHttpTunnelBuilder.html#websocketTcpConversion" class="tsd-index-link
|
|
40
|
+
<div class="tsd-index-list"><a href="NgrokHttpTunnelBuilder.html#allowCidr" 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>allow<wbr/>Cidr</span></a>
|
|
41
|
+
<a href="NgrokHttpTunnelBuilder.html#basicAuth" 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>basic<wbr/>Auth</span></a>
|
|
42
|
+
<a href="NgrokHttpTunnelBuilder.html#circuitBreaker" 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>circuit<wbr/>Breaker</span></a>
|
|
43
|
+
<a href="NgrokHttpTunnelBuilder.html#compression" 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>compression</span></a>
|
|
44
|
+
<a href="NgrokHttpTunnelBuilder.html#denyCidr" 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>deny<wbr/>Cidr</span></a>
|
|
45
|
+
<a href="NgrokHttpTunnelBuilder.html#domain" 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>domain</span></a>
|
|
46
|
+
<a href="NgrokHttpTunnelBuilder.html#forwardsTo" 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>forwards<wbr/>To</span></a>
|
|
47
|
+
<a href="NgrokHttpTunnelBuilder.html#listen" 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>listen</span></a>
|
|
48
|
+
<a href="NgrokHttpTunnelBuilder.html#metadata" 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>metadata</span></a>
|
|
49
|
+
<a href="NgrokHttpTunnelBuilder.html#mutualTlsca" 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>mutual<wbr/>Tlsca</span></a>
|
|
50
|
+
<a href="NgrokHttpTunnelBuilder.html#oauth" 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>oauth</span></a>
|
|
51
|
+
<a href="NgrokHttpTunnelBuilder.html#oidc" 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>oidc</span></a>
|
|
52
|
+
<a href="NgrokHttpTunnelBuilder.html#proxyProto" 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>proxy<wbr/>Proto</span></a>
|
|
53
|
+
<a href="NgrokHttpTunnelBuilder.html#removeRequestHeader" 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>remove<wbr/>Request<wbr/>Header</span></a>
|
|
54
|
+
<a href="NgrokHttpTunnelBuilder.html#removeResponseHeader" 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>remove<wbr/>Response<wbr/>Header</span></a>
|
|
55
|
+
<a href="NgrokHttpTunnelBuilder.html#requestHeader" 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>request<wbr/>Header</span></a>
|
|
56
|
+
<a href="NgrokHttpTunnelBuilder.html#responseHeader" 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>response<wbr/>Header</span></a>
|
|
57
|
+
<a href="NgrokHttpTunnelBuilder.html#scheme" 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>scheme</span></a>
|
|
58
|
+
<a href="NgrokHttpTunnelBuilder.html#webhookVerification" 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>webhook<wbr/>Verification</span></a>
|
|
59
|
+
<a href="NgrokHttpTunnelBuilder.html#websocketTcpConversion" 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>websocket<wbr/>Tcp<wbr/>Conversion</span></a>
|
|
58
60
|
</div></section></div></details></section></section>
|
|
59
61
|
<section class="tsd-panel-group tsd-member-group">
|
|
60
62
|
<h2>Constructors</h2>
|
|
61
|
-
<section class="tsd-panel tsd-member
|
|
63
|
+
<section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a>
|
|
62
64
|
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" 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"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
|
63
|
-
<ul class="tsd-signatures
|
|
64
|
-
<li class="tsd-signature tsd-anchor-link" id="constructor.new_NgrokHttpTunnelBuilder">new <wbr/>Ngrok<wbr/>Http<wbr/>Tunnel<wbr/>Builder
|
|
65
|
+
<ul class="tsd-signatures">
|
|
66
|
+
<li class="tsd-signature tsd-anchor-link" id="constructor.new_NgrokHttpTunnelBuilder"><span class="tsd-kind-constructor-signature">new <wbr/>Ngrok<wbr/>Http<wbr/>Tunnel<wbr/>Builder</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#constructor.new_NgrokHttpTunnelBuilder" 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>
|
|
65
67
|
<li class="tsd-description">
|
|
66
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
68
|
+
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4></li></ul></section></section>
|
|
67
69
|
<section class="tsd-panel-group tsd-member-group">
|
|
68
70
|
<h2>Methods</h2>
|
|
69
|
-
<section class="tsd-panel tsd-member
|
|
71
|
+
<section class="tsd-panel tsd-member"><a id="allowCidr" class="tsd-anchor"></a>
|
|
70
72
|
<h3 class="tsd-anchor-link"><span>allow<wbr/>Cidr</span><a href="#allowCidr" 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>
|
|
71
|
-
<ul class="tsd-signatures
|
|
72
|
-
<li class="tsd-signature tsd-anchor-link" id="allowCidr.allowCidr-1"
|
|
73
|
+
<ul class="tsd-signatures">
|
|
74
|
+
<li class="tsd-signature tsd-anchor-link" id="allowCidr.allowCidr-1"><span class="tsd-kind-call-signature">allow<wbr/>Cidr</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">cidr</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#allowCidr.allowCidr-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>
|
|
73
75
|
<li class="tsd-description">
|
|
74
76
|
<div class="tsd-comment tsd-typography"><p>Restriction placed on the origin of incoming connections to the edge to only allow these CIDR ranges.
|
|
75
77
|
Call multiple times to add additional CIDR ranges.</p>
|
|
@@ -78,14 +80,14 @@ Call multiple times to add additional CIDR ranges.</p>
|
|
|
78
80
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
79
81
|
<ul class="tsd-parameter-list">
|
|
80
82
|
<li>
|
|
81
|
-
<h5>cidr
|
|
82
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
83
|
+
<h5><span class="tsd-kind-parameter">cidr</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
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">
|
|
83
85
|
<ul>
|
|
84
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
85
|
-
<section class="tsd-panel tsd-member
|
|
86
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L564">index.d.ts:564</a></li></ul></aside></li></ul></section>
|
|
87
|
+
<section class="tsd-panel tsd-member"><a id="basicAuth" class="tsd-anchor"></a>
|
|
86
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>
|
|
87
|
-
<ul class="tsd-signatures
|
|
88
|
-
<li class="tsd-signature tsd-anchor-link" id="basicAuth.basicAuth-1"
|
|
89
|
+
<ul class="tsd-signatures">
|
|
90
|
+
<li class="tsd-signature tsd-anchor-link" id="basicAuth.basicAuth-1"><span class="tsd-kind-call-signature">basic<wbr/>Auth</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">username</span>, <span class="tsd-kind-parameter">password</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#basicAuth.basicAuth-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>
|
|
89
91
|
<li class="tsd-description">
|
|
90
92
|
<div class="tsd-comment tsd-typography"><p>Credentials for basic authentication.
|
|
91
93
|
If not called, basic authentication is disabled.</p>
|
|
@@ -94,16 +96,16 @@ If not called, basic authentication is disabled.</p>
|
|
|
94
96
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
95
97
|
<ul class="tsd-parameter-list">
|
|
96
98
|
<li>
|
|
97
|
-
<h5>username
|
|
99
|
+
<h5><span class="tsd-kind-parameter">username</span>: <span class="tsd-signature-type">string</span></h5></li>
|
|
98
100
|
<li>
|
|
99
|
-
<h5>password
|
|
100
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
101
|
+
<h5><span class="tsd-kind-parameter">password</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
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">
|
|
101
103
|
<ul>
|
|
102
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
103
|
-
<section class="tsd-panel tsd-member
|
|
104
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L539">index.d.ts:539</a></li></ul></aside></li></ul></section>
|
|
105
|
+
<section class="tsd-panel tsd-member"><a id="circuitBreaker" class="tsd-anchor"></a>
|
|
104
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>
|
|
105
|
-
<ul class="tsd-signatures
|
|
106
|
-
<li class="tsd-signature tsd-anchor-link" id="circuitBreaker.circuitBreaker-1"
|
|
107
|
+
<ul class="tsd-signatures">
|
|
108
|
+
<li class="tsd-signature tsd-anchor-link" id="circuitBreaker.circuitBreaker-1"><span class="tsd-kind-call-signature">circuit<wbr/>Breaker</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">circuitBreaker</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#circuitBreaker.circuitBreaker-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>
|
|
107
109
|
<li class="tsd-description">
|
|
108
110
|
<div class="tsd-comment tsd-typography"><p>Reject requests when 5XX responses exceed this ratio.
|
|
109
111
|
Disabled when 0.</p>
|
|
@@ -112,24 +114,24 @@ Disabled when 0.</p>
|
|
|
112
114
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
113
115
|
<ul class="tsd-parameter-list">
|
|
114
116
|
<li>
|
|
115
|
-
<h5>circuitBreaker
|
|
116
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
117
|
+
<h5><span class="tsd-kind-parameter">circuitBreaker</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
|
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">
|
|
117
119
|
<ul>
|
|
118
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
119
|
-
<section class="tsd-panel tsd-member
|
|
120
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L526">index.d.ts:526</a></li></ul></aside></li></ul></section>
|
|
121
|
+
<section class="tsd-panel tsd-member"><a id="compression" class="tsd-anchor"></a>
|
|
120
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>
|
|
121
|
-
<ul class="tsd-signatures
|
|
122
|
-
<li class="tsd-signature tsd-anchor-link" id="compression.compression-1">compression
|
|
123
|
+
<ul class="tsd-signatures">
|
|
124
|
+
<li class="tsd-signature tsd-anchor-link" id="compression.compression-1"><span class="tsd-kind-call-signature">compression</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#compression.compression-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>
|
|
123
125
|
<li class="tsd-description">
|
|
124
126
|
<div class="tsd-comment tsd-typography"><p>Enable gzip compression for HTTP responses.</p>
|
|
125
127
|
</div>
|
|
126
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
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">
|
|
127
129
|
<ul>
|
|
128
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
129
|
-
<section class="tsd-panel tsd-member
|
|
130
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L519">index.d.ts:519</a></li></ul></aside></li></ul></section>
|
|
131
|
+
<section class="tsd-panel tsd-member"><a id="denyCidr" class="tsd-anchor"></a>
|
|
130
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>
|
|
131
|
-
<ul class="tsd-signatures
|
|
132
|
-
<li class="tsd-signature tsd-anchor-link" id="denyCidr.denyCidr-1"
|
|
133
|
+
<ul class="tsd-signatures">
|
|
134
|
+
<li class="tsd-signature tsd-anchor-link" id="denyCidr.denyCidr-1"><span class="tsd-kind-call-signature">deny<wbr/>Cidr</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">cidr</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#denyCidr.denyCidr-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>
|
|
133
135
|
<li class="tsd-description">
|
|
134
136
|
<div class="tsd-comment tsd-typography"><p>Restriction placed on the origin of incoming connections to the edge to deny these CIDR ranges.
|
|
135
137
|
Call multiple times to add additional CIDR ranges.</p>
|
|
@@ -138,14 +140,14 @@ Call multiple times to add additional CIDR ranges.</p>
|
|
|
138
140
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
139
141
|
<ul class="tsd-parameter-list">
|
|
140
142
|
<li>
|
|
141
|
-
<h5>cidr
|
|
142
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
143
|
+
<h5><span class="tsd-kind-parameter">cidr</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
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">
|
|
143
145
|
<ul>
|
|
144
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
145
|
-
<section class="tsd-panel tsd-member
|
|
146
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L569">index.d.ts:569</a></li></ul></aside></li></ul></section>
|
|
147
|
+
<section class="tsd-panel tsd-member"><a id="domain" class="tsd-anchor"></a>
|
|
146
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>
|
|
147
|
-
<ul class="tsd-signatures
|
|
148
|
-
<li class="tsd-signature tsd-anchor-link" id="domain.domain-1"
|
|
149
|
+
<ul class="tsd-signatures">
|
|
150
|
+
<li class="tsd-signature tsd-anchor-link" id="domain.domain-1"><span class="tsd-kind-call-signature">domain</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">domain</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#domain.domain-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>
|
|
149
151
|
<li class="tsd-description">
|
|
150
152
|
<div class="tsd-comment tsd-typography"><p>The domain to request for this edge.</p>
|
|
151
153
|
</div>
|
|
@@ -153,14 +155,14 @@ Call multiple times to add additional CIDR ranges.</p>
|
|
|
153
155
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
154
156
|
<ul class="tsd-parameter-list">
|
|
155
157
|
<li>
|
|
156
|
-
<h5>domain
|
|
157
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
158
|
+
<h5><span class="tsd-kind-parameter">domain</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
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">
|
|
158
160
|
<ul>
|
|
159
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
160
|
-
<section class="tsd-panel tsd-member
|
|
161
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L515">index.d.ts:515</a></li></ul></aside></li></ul></section>
|
|
162
|
+
<section class="tsd-panel tsd-member"><a id="forwardsTo" class="tsd-anchor"></a>
|
|
161
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>
|
|
162
|
-
<ul class="tsd-signatures
|
|
163
|
-
<li class="tsd-signature tsd-anchor-link" id="forwardsTo.forwardsTo-1"
|
|
164
|
+
<ul class="tsd-signatures">
|
|
165
|
+
<li class="tsd-signature tsd-anchor-link" id="forwardsTo.forwardsTo-1"><span class="tsd-kind-call-signature">forwards<wbr/>To</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">forwardsTo</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#forwardsTo.forwardsTo-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>
|
|
164
166
|
<li class="tsd-description">
|
|
165
167
|
<div class="tsd-comment tsd-typography"><p>Tunnel backend metadata. Viewable via the dashboard and API, but has no
|
|
166
168
|
bearing on tunnel behavior.</p>
|
|
@@ -169,14 +171,14 @@ bearing on tunnel behavior.</p>
|
|
|
169
171
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
170
172
|
<ul class="tsd-parameter-list">
|
|
171
173
|
<li>
|
|
172
|
-
<h5>forwardsTo
|
|
173
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
174
|
+
<h5><span class="tsd-kind-parameter">forwardsTo</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
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">
|
|
174
176
|
<ul>
|
|
175
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
176
|
-
<section class="tsd-panel tsd-member
|
|
177
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L576">index.d.ts:576</a></li></ul></aside></li></ul></section>
|
|
178
|
+
<section class="tsd-panel tsd-member"><a id="listen" class="tsd-anchor"></a>
|
|
177
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>
|
|
178
|
-
<ul class="tsd-signatures
|
|
179
|
-
<li class="tsd-signature tsd-anchor-link" id="listen.listen-1">listen
|
|
180
|
+
<ul class="tsd-signatures">
|
|
181
|
+
<li class="tsd-signature tsd-anchor-link" id="listen.listen-1"><span class="tsd-kind-call-signature">listen</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">bind</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="NgrokHttpTunnel.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnel</a><span class="tsd-signature-symbol">></span><a href="#listen.listen-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
180
182
|
<li class="tsd-description">
|
|
181
183
|
<div class="tsd-comment tsd-typography"><p>Begin listening for new connections on this tunnel.</p>
|
|
182
184
|
</div>
|
|
@@ -184,14 +186,14 @@ bearing on tunnel behavior.</p>
|
|
|
184
186
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
185
187
|
<ul class="tsd-parameter-list">
|
|
186
188
|
<li>
|
|
187
|
-
<h5><code class="tsd-tag ts-flagOptional">Optional</code> bind
|
|
188
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="NgrokHttpTunnel.html" class="tsd-signature-type
|
|
189
|
+
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">bind</span>: <span class="tsd-signature-type">boolean</span></h5></li></ul></div>
|
|
190
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="NgrokHttpTunnel.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnel</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
189
191
|
<ul>
|
|
190
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
191
|
-
<section class="tsd-panel tsd-member
|
|
192
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L559">index.d.ts:559</a></li></ul></aside></li></ul></section>
|
|
193
|
+
<section class="tsd-panel tsd-member"><a id="metadata" class="tsd-anchor"></a>
|
|
192
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>
|
|
193
|
-
<ul class="tsd-signatures
|
|
194
|
-
<li class="tsd-signature tsd-anchor-link" id="metadata.metadata-1"
|
|
195
|
+
<ul class="tsd-signatures">
|
|
196
|
+
<li class="tsd-signature tsd-anchor-link" id="metadata.metadata-1"><span class="tsd-kind-call-signature">metadata</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">metadata</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#metadata.metadata-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>
|
|
195
197
|
<li class="tsd-description">
|
|
196
198
|
<div class="tsd-comment tsd-typography"><p>Tunnel-specific opaque metadata. Viewable via the API.</p>
|
|
197
199
|
</div>
|
|
@@ -199,14 +201,14 @@ bearing on tunnel behavior.</p>
|
|
|
199
201
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
200
202
|
<ul class="tsd-parameter-list">
|
|
201
203
|
<li>
|
|
202
|
-
<h5>metadata
|
|
203
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
204
|
+
<h5><span class="tsd-kind-parameter">metadata</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
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">
|
|
204
206
|
<ul>
|
|
205
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
206
|
-
<section class="tsd-panel tsd-member
|
|
207
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L557">index.d.ts:557</a></li></ul></aside></li></ul></section>
|
|
208
|
+
<section class="tsd-panel tsd-member"><a id="mutualTlsca" class="tsd-anchor"></a>
|
|
207
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>
|
|
208
|
-
<ul class="tsd-signatures
|
|
209
|
-
<li class="tsd-signature tsd-anchor-link" id="mutualTlsca.mutualTlsca-1"
|
|
210
|
+
<ul class="tsd-signatures">
|
|
211
|
+
<li class="tsd-signature tsd-anchor-link" id="mutualTlsca.mutualTlsca-1"><span class="tsd-kind-call-signature">mutual<wbr/>Tlsca</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mutualTlsca</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#mutualTlsca.mutualTlsca-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>
|
|
210
212
|
<li class="tsd-description">
|
|
211
213
|
<div class="tsd-comment tsd-typography"><p>Certificates to use for client authentication at the ngrok edge.</p>
|
|
212
214
|
</div>
|
|
@@ -214,36 +216,37 @@ bearing on tunnel behavior.</p>
|
|
|
214
216
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
215
217
|
<ul class="tsd-parameter-list">
|
|
216
218
|
<li>
|
|
217
|
-
<h5>mutualTlsca
|
|
218
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
219
|
+
<h5><span class="tsd-kind-parameter">mutualTlsca</span>: <span class="tsd-signature-type ">Uint8Array</span></h5></li></ul></div>
|
|
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">
|
|
219
221
|
<ul>
|
|
220
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
221
|
-
<section class="tsd-panel tsd-member
|
|
222
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L517">index.d.ts:517</a></li></ul></aside></li></ul></section>
|
|
223
|
+
<section class="tsd-panel tsd-member"><a id="oauth" class="tsd-anchor"></a>
|
|
222
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>
|
|
223
|
-
<ul class="tsd-signatures
|
|
224
|
-
<li class="tsd-signature tsd-anchor-link" id="oauth.oauth-1"
|
|
225
|
+
<ul class="tsd-signatures">
|
|
226
|
+
<li class="tsd-signature tsd-anchor-link" id="oauth.oauth-1"><span class="tsd-kind-call-signature">oauth</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">provider</span>, <span class="tsd-kind-parameter">allowEmails</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">allowDomains</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">scopes</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#oauth.oauth-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>
|
|
225
227
|
<li class="tsd-description">
|
|
226
228
|
<div class="tsd-comment tsd-typography"><p>OAuth configuration.
|
|
227
|
-
If not called, OAuth is disabled
|
|
229
|
+
If not called, OAuth is disabled.
|
|
230
|
+
<a href="https://ngrok.com/docs/cloud-edge/modules/oauth/">https://ngrok.com/docs/cloud-edge/modules/oauth/</a></p>
|
|
228
231
|
</div>
|
|
229
232
|
<div class="tsd-parameters">
|
|
230
233
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
231
234
|
<ul class="tsd-parameter-list">
|
|
232
235
|
<li>
|
|
233
|
-
<h5>provider
|
|
236
|
+
<h5><span class="tsd-kind-parameter">provider</span>: <span class="tsd-signature-type">string</span></h5></li>
|
|
234
237
|
<li>
|
|
235
|
-
<h5><code class="tsd-tag ts-flagOptional">Optional</code> allowEmails
|
|
238
|
+
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">allowEmails</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
|
236
239
|
<li>
|
|
237
|
-
<h5><code class="tsd-tag ts-flagOptional">Optional</code> allowDomains
|
|
240
|
+
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">allowDomains</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
|
238
241
|
<li>
|
|
239
|
-
<h5><code class="tsd-tag ts-flagOptional">Optional</code> scopes
|
|
240
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
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
|
+
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
241
244
|
<ul>
|
|
242
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
243
|
-
<section class="tsd-panel tsd-member
|
|
245
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L545">index.d.ts:545</a></li></ul></aside></li></ul></section>
|
|
246
|
+
<section class="tsd-panel tsd-member"><a id="oidc" class="tsd-anchor"></a>
|
|
244
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>
|
|
245
|
-
<ul class="tsd-signatures
|
|
246
|
-
<li class="tsd-signature tsd-anchor-link" id="oidc.oidc-1"
|
|
248
|
+
<ul class="tsd-signatures">
|
|
249
|
+
<li class="tsd-signature tsd-anchor-link" id="oidc.oidc-1"><span class="tsd-kind-call-signature">oidc</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">issuerUrl</span>, <span class="tsd-kind-parameter">clientId</span>, <span class="tsd-kind-parameter">clientSecret</span>, <span class="tsd-kind-parameter">allowEmails</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">allowDomains</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">scopes</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#oidc.oidc-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>
|
|
247
250
|
<li class="tsd-description">
|
|
248
251
|
<div class="tsd-comment tsd-typography"><p>OIDC configuration.
|
|
249
252
|
If not called, OIDC is disabled.</p>
|
|
@@ -252,24 +255,24 @@ If not called, OIDC is disabled.</p>
|
|
|
252
255
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
253
256
|
<ul class="tsd-parameter-list">
|
|
254
257
|
<li>
|
|
255
|
-
<h5>issuerUrl
|
|
258
|
+
<h5><span class="tsd-kind-parameter">issuerUrl</span>: <span class="tsd-signature-type">string</span></h5></li>
|
|
256
259
|
<li>
|
|
257
|
-
<h5>clientId
|
|
260
|
+
<h5><span class="tsd-kind-parameter">clientId</span>: <span class="tsd-signature-type">string</span></h5></li>
|
|
258
261
|
<li>
|
|
259
|
-
<h5>clientSecret
|
|
262
|
+
<h5><span class="tsd-kind-parameter">clientSecret</span>: <span class="tsd-signature-type">string</span></h5></li>
|
|
260
263
|
<li>
|
|
261
|
-
<h5><code class="tsd-tag ts-flagOptional">Optional</code> allowEmails
|
|
264
|
+
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">allowEmails</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
|
262
265
|
<li>
|
|
263
|
-
<h5><code class="tsd-tag ts-flagOptional">Optional</code> allowDomains
|
|
266
|
+
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">allowDomains</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
|
264
267
|
<li>
|
|
265
|
-
<h5><code class="tsd-tag ts-flagOptional">Optional</code> scopes
|
|
266
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
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
|
+
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a></h4><aside class="tsd-sources">
|
|
267
270
|
<ul>
|
|
268
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
269
|
-
<section class="tsd-panel tsd-member
|
|
271
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L550">index.d.ts:550</a></li></ul></aside></li></ul></section>
|
|
272
|
+
<section class="tsd-panel tsd-member"><a id="proxyProto" class="tsd-anchor"></a>
|
|
270
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>
|
|
271
|
-
<ul class="tsd-signatures
|
|
272
|
-
<li class="tsd-signature tsd-anchor-link" id="proxyProto.proxyProto-1"
|
|
274
|
+
<ul class="tsd-signatures">
|
|
275
|
+
<li class="tsd-signature tsd-anchor-link" id="proxyProto.proxyProto-1"><span class="tsd-kind-call-signature">proxy<wbr/>Proto</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">proxyProto</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#proxyProto.proxyProto-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>
|
|
273
276
|
<li class="tsd-description">
|
|
274
277
|
<div class="tsd-comment tsd-typography"><p>The version of PROXY protocol to use with this tunnel "1", "2", or "" if not using.</p>
|
|
275
278
|
</div>
|
|
@@ -277,78 +280,78 @@ If not called, OIDC is disabled.</p>
|
|
|
277
280
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
278
281
|
<ul class="tsd-parameter-list">
|
|
279
282
|
<li>
|
|
280
|
-
<h5>proxyProto
|
|
281
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
283
|
+
<h5><span class="tsd-kind-parameter">proxyProto</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
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">
|
|
282
285
|
<ul>
|
|
283
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
284
|
-
<section class="tsd-panel tsd-member
|
|
286
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L571">index.d.ts:571</a></li></ul></aside></li></ul></section>
|
|
287
|
+
<section class="tsd-panel tsd-member"><a id="removeRequestHeader" class="tsd-anchor"></a>
|
|
285
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>
|
|
286
|
-
<ul class="tsd-signatures
|
|
287
|
-
<li class="tsd-signature tsd-anchor-link" id="removeRequestHeader.removeRequestHeader-1">remove<wbr/>Request<wbr/>Header
|
|
289
|
+
<ul class="tsd-signatures">
|
|
290
|
+
<li class="tsd-signature tsd-anchor-link" id="removeRequestHeader.removeRequestHeader-1"><span class="tsd-kind-call-signature">remove<wbr/>Request<wbr/>Header</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#removeRequestHeader.removeRequestHeader-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>
|
|
288
291
|
<li class="tsd-description">
|
|
289
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
292
|
+
<div class="tsd-comment tsd-typography"><p>remove_request_header removes a header from requests to this edge.</p>
|
|
290
293
|
</div>
|
|
291
294
|
<div class="tsd-parameters">
|
|
292
295
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
293
296
|
<ul class="tsd-parameter-list">
|
|
294
297
|
<li>
|
|
295
|
-
<h5>name
|
|
296
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
298
|
+
<h5><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
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">
|
|
297
300
|
<ul>
|
|
298
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
299
|
-
<section class="tsd-panel tsd-member
|
|
301
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L532">index.d.ts:532</a></li></ul></aside></li></ul></section>
|
|
302
|
+
<section class="tsd-panel tsd-member"><a id="removeResponseHeader" class="tsd-anchor"></a>
|
|
300
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>
|
|
301
|
-
<ul class="tsd-signatures
|
|
302
|
-
<li class="tsd-signature tsd-anchor-link" id="removeResponseHeader.removeResponseHeader-1">remove<wbr/>Response<wbr/>Header
|
|
304
|
+
<ul class="tsd-signatures">
|
|
305
|
+
<li class="tsd-signature tsd-anchor-link" id="removeResponseHeader.removeResponseHeader-1"><span class="tsd-kind-call-signature">remove<wbr/>Response<wbr/>Header</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#removeResponseHeader.removeResponseHeader-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>
|
|
303
306
|
<li class="tsd-description">
|
|
304
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
307
|
+
<div class="tsd-comment tsd-typography"><p>remove_response_header removes a header from responses from this edge.</p>
|
|
305
308
|
</div>
|
|
306
309
|
<div class="tsd-parameters">
|
|
307
310
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
308
311
|
<ul class="tsd-parameter-list">
|
|
309
312
|
<li>
|
|
310
|
-
<h5>name
|
|
311
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
313
|
+
<h5><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
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">
|
|
312
315
|
<ul>
|
|
313
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
314
|
-
<section class="tsd-panel tsd-member
|
|
316
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L534">index.d.ts:534</a></li></ul></aside></li></ul></section>
|
|
317
|
+
<section class="tsd-panel tsd-member"><a id="requestHeader" class="tsd-anchor"></a>
|
|
315
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>
|
|
316
|
-
<ul class="tsd-signatures
|
|
317
|
-
<li class="tsd-signature tsd-anchor-link" id="requestHeader.requestHeader-1"
|
|
319
|
+
<ul class="tsd-signatures">
|
|
320
|
+
<li class="tsd-signature tsd-anchor-link" id="requestHeader.requestHeader-1"><span class="tsd-kind-call-signature">request<wbr/>Header</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span>, <span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#requestHeader.requestHeader-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>
|
|
318
321
|
<li class="tsd-description">
|
|
319
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
322
|
+
<div class="tsd-comment tsd-typography"><p>request_header adds a header to all requests to this edge.</p>
|
|
320
323
|
</div>
|
|
321
324
|
<div class="tsd-parameters">
|
|
322
325
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
323
326
|
<ul class="tsd-parameter-list">
|
|
324
327
|
<li>
|
|
325
|
-
<h5>name
|
|
328
|
+
<h5><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5></li>
|
|
326
329
|
<li>
|
|
327
|
-
<h5>value
|
|
328
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
330
|
+
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
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">
|
|
329
332
|
<ul>
|
|
330
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
331
|
-
<section class="tsd-panel tsd-member
|
|
333
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L528">index.d.ts:528</a></li></ul></aside></li></ul></section>
|
|
334
|
+
<section class="tsd-panel tsd-member"><a id="responseHeader" class="tsd-anchor"></a>
|
|
332
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>
|
|
333
|
-
<ul class="tsd-signatures
|
|
334
|
-
<li class="tsd-signature tsd-anchor-link" id="responseHeader.responseHeader-1"
|
|
336
|
+
<ul class="tsd-signatures">
|
|
337
|
+
<li class="tsd-signature tsd-anchor-link" id="responseHeader.responseHeader-1"><span class="tsd-kind-call-signature">response<wbr/>Header</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span>, <span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#responseHeader.responseHeader-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>
|
|
335
338
|
<li class="tsd-description">
|
|
336
|
-
<div class="tsd-comment tsd-typography"><p>
|
|
339
|
+
<div class="tsd-comment tsd-typography"><p>response_header adds a header to all responses coming from this edge.</p>
|
|
337
340
|
</div>
|
|
338
341
|
<div class="tsd-parameters">
|
|
339
342
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
340
343
|
<ul class="tsd-parameter-list">
|
|
341
344
|
<li>
|
|
342
|
-
<h5>name
|
|
345
|
+
<h5><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5></li>
|
|
343
346
|
<li>
|
|
344
|
-
<h5>value
|
|
345
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
347
|
+
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
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">
|
|
346
349
|
<ul>
|
|
347
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
348
|
-
<section class="tsd-panel tsd-member
|
|
350
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L530">index.d.ts:530</a></li></ul></aside></li></ul></section>
|
|
351
|
+
<section class="tsd-panel tsd-member"><a id="scheme" class="tsd-anchor"></a>
|
|
349
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>
|
|
350
|
-
<ul class="tsd-signatures
|
|
351
|
-
<li class="tsd-signature tsd-anchor-link" id="scheme.scheme-1"
|
|
353
|
+
<ul class="tsd-signatures">
|
|
354
|
+
<li class="tsd-signature tsd-anchor-link" id="scheme.scheme-1"><span class="tsd-kind-call-signature">scheme</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scheme</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#scheme.scheme-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>
|
|
352
355
|
<li class="tsd-description">
|
|
353
356
|
<div class="tsd-comment tsd-typography"><p>The scheme that this edge should use.
|
|
354
357
|
Defaults to [Scheme::HTTPS].</p>
|
|
@@ -357,14 +360,14 @@ Defaults to [Scheme::HTTPS].</p>
|
|
|
357
360
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
358
361
|
<ul class="tsd-parameter-list">
|
|
359
362
|
<li>
|
|
360
|
-
<h5>scheme
|
|
361
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
363
|
+
<h5><span class="tsd-kind-parameter">scheme</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
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">
|
|
362
365
|
<ul>
|
|
363
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
364
|
-
<section class="tsd-panel tsd-member
|
|
366
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L513">index.d.ts:513</a></li></ul></aside></li></ul></section>
|
|
367
|
+
<section class="tsd-panel tsd-member"><a id="webhookVerification" class="tsd-anchor"></a>
|
|
365
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>
|
|
366
|
-
<ul class="tsd-signatures
|
|
367
|
-
<li class="tsd-signature tsd-anchor-link" id="webhookVerification.webhookVerification-1"
|
|
369
|
+
<ul class="tsd-signatures">
|
|
370
|
+
<li class="tsd-signature tsd-anchor-link" id="webhookVerification.webhookVerification-1"><span class="tsd-kind-call-signature">webhook<wbr/>Verification</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">provider</span>, <span class="tsd-kind-parameter">secret</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#webhookVerification.webhookVerification-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>
|
|
368
371
|
<li class="tsd-description">
|
|
369
372
|
<div class="tsd-comment tsd-typography"><p>WebhookVerification configuration.
|
|
370
373
|
If not called, WebhookVerification is disabled.</p>
|
|
@@ -373,26 +376,27 @@ If not called, WebhookVerification is disabled.</p>
|
|
|
373
376
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
374
377
|
<ul class="tsd-parameter-list">
|
|
375
378
|
<li>
|
|
376
|
-
<h5>provider
|
|
379
|
+
<h5><span class="tsd-kind-parameter">provider</span>: <span class="tsd-signature-type">string</span></h5></li>
|
|
377
380
|
<li>
|
|
378
|
-
<h5>secret
|
|
379
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
381
|
+
<h5><span class="tsd-kind-parameter">secret</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
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">
|
|
380
383
|
<ul>
|
|
381
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
382
|
-
<section class="tsd-panel tsd-member
|
|
384
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L555">index.d.ts:555</a></li></ul></aside></li></ul></section>
|
|
385
|
+
<section class="tsd-panel tsd-member"><a id="websocketTcpConversion" class="tsd-anchor"></a>
|
|
383
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>
|
|
384
|
-
<ul class="tsd-signatures
|
|
385
|
-
<li class="tsd-signature tsd-anchor-link" id="websocketTcpConversion.websocketTcpConversion-1">websocket<wbr/>Tcp<wbr/>Conversion
|
|
387
|
+
<ul class="tsd-signatures">
|
|
388
|
+
<li class="tsd-signature tsd-anchor-link" id="websocketTcpConversion.websocketTcpConversion-1"><span class="tsd-kind-call-signature">websocket<wbr/>Tcp<wbr/>Conversion</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type tsd-kind-class">NgrokHttpTunnelBuilder</a><a href="#websocketTcpConversion.websocketTcpConversion-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>
|
|
386
389
|
<li class="tsd-description">
|
|
387
390
|
<div class="tsd-comment tsd-typography"><p>Convert incoming websocket connections to TCP-like streams.</p>
|
|
388
391
|
</div>
|
|
389
|
-
<h4 class="tsd-returns-title">Returns <a href="NgrokHttpTunnelBuilder.html" class="tsd-signature-type
|
|
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">
|
|
390
393
|
<ul>
|
|
391
|
-
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/
|
|
392
|
-
<div class="col-
|
|
394
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/c911806/index.d.ts#L521">index.d.ts:521</a></li></ul></aside></li></ul></section></section></div>
|
|
395
|
+
<div class="col-sidebar">
|
|
396
|
+
<div class="page-menu">
|
|
393
397
|
<div class="tsd-navigation settings">
|
|
394
398
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
395
|
-
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg>
|
|
399
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg>Settings</h3></summary>
|
|
396
400
|
<div class="tsd-accordion-details">
|
|
397
401
|
<div class="tsd-filter-visibility">
|
|
398
402
|
<h4 class="uppercase">Member Visibility</h4><form>
|
|
@@ -402,39 +406,71 @@ If not called, WebhookVerification is disabled.</p>
|
|
|
402
406
|
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
403
407
|
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
|
404
408
|
<div class="tsd-theme-toggle">
|
|
405
|
-
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
406
|
-
<
|
|
407
|
-
<
|
|
408
|
-
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
409
|
+
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
410
|
+
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
|
411
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg>On This Page</h3></summary>
|
|
409
412
|
<div class="tsd-accordion-details">
|
|
410
413
|
<ul>
|
|
411
|
-
<li><a href="
|
|
412
|
-
<
|
|
413
|
-
<
|
|
414
|
-
<
|
|
415
|
-
<li
|
|
416
|
-
<
|
|
417
|
-
<li
|
|
418
|
-
<li
|
|
419
|
-
<li
|
|
420
|
-
<li
|
|
421
|
-
<li
|
|
422
|
-
<li
|
|
423
|
-
<li
|
|
424
|
-
<li
|
|
425
|
-
<li
|
|
426
|
-
<li
|
|
427
|
-
<li
|
|
428
|
-
<li
|
|
429
|
-
<li
|
|
430
|
-
<li
|
|
431
|
-
<li
|
|
432
|
-
<
|
|
433
|
-
<
|
|
434
|
-
<
|
|
435
|
-
<li
|
|
436
|
-
<
|
|
437
|
-
<
|
|
438
|
-
<
|
|
414
|
+
<li><a href="#constructor" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg><span>constructor</span></a></li>
|
|
415
|
+
<li><a href="#allowCidr" 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>allow<wbr/>Cidr</span></a></li>
|
|
416
|
+
<li><a href="#basicAuth" 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>basic<wbr/>Auth</span></a></li>
|
|
417
|
+
<li><a href="#circuitBreaker" 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>circuit<wbr/>Breaker</span></a></li>
|
|
418
|
+
<li><a href="#compression" 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>compression</span></a></li>
|
|
419
|
+
<li><a href="#denyCidr" 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>deny<wbr/>Cidr</span></a></li>
|
|
420
|
+
<li><a href="#domain" 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>domain</span></a></li>
|
|
421
|
+
<li><a href="#forwardsTo" 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>forwards<wbr/>To</span></a></li>
|
|
422
|
+
<li><a href="#listen" 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>listen</span></a></li>
|
|
423
|
+
<li><a href="#metadata" 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>metadata</span></a></li>
|
|
424
|
+
<li><a href="#mutualTlsca" 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>mutual<wbr/>Tlsca</span></a></li>
|
|
425
|
+
<li><a href="#oauth" 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>oauth</span></a></li>
|
|
426
|
+
<li><a href="#oidc" 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>oidc</span></a></li>
|
|
427
|
+
<li><a href="#proxyProto" 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>proxy<wbr/>Proto</span></a></li>
|
|
428
|
+
<li><a href="#removeRequestHeader" 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>remove<wbr/>Request<wbr/>Header</span></a></li>
|
|
429
|
+
<li><a href="#removeResponseHeader" 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>remove<wbr/>Response<wbr/>Header</span></a></li>
|
|
430
|
+
<li><a href="#requestHeader" 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>request<wbr/>Header</span></a></li>
|
|
431
|
+
<li><a href="#responseHeader" 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>response<wbr/>Header</span></a></li>
|
|
432
|
+
<li><a href="#scheme" 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>scheme</span></a></li>
|
|
433
|
+
<li><a href="#webhookVerification" 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>webhook<wbr/>Verification</span></a></li>
|
|
434
|
+
<li><a href="#websocketTcpConversion" 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>websocket<wbr/>Tcp<wbr/>Conversion</span></a></li></ul></div></details></div>
|
|
435
|
+
<div class="site-menu">
|
|
436
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg><span>@ngrok/ngrok</span></a>
|
|
437
|
+
<ul class="tsd-small-nested-navigation">
|
|
438
|
+
<li>
|
|
439
|
+
<details class="tsd-index-accordion" data-key="Functions"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Functions</span></summary>
|
|
440
|
+
<div class="tsd-accordion-details">
|
|
441
|
+
<ul class="tsd-nested-navigation">
|
|
442
|
+
<li><a href="../interfaces/Config.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Config</span></a></li>
|
|
443
|
+
<li><a href="../functions/authtoken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg><span>authtoken</span></a></li>
|
|
444
|
+
<li><a href="../functions/connect.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>connect</span></a></li>
|
|
445
|
+
<li><a href="../functions/consoleLog.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>console<wbr/>Log</span></a></li>
|
|
446
|
+
<li><a href="../functions/disconnect.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>disconnect</span></a></li>
|
|
447
|
+
<li><a href="../functions/kill.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>kill</span></a></li>
|
|
448
|
+
<li><a href="../functions/listen.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>listen</span></a></li>
|
|
449
|
+
<li><a href="../functions/listenable.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>listenable</span></a></li>
|
|
450
|
+
<li><a href="../functions/loggingCallback.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>logging<wbr/>Callback</span></a></li></ul></div></details></li>
|
|
451
|
+
<li>
|
|
452
|
+
<details class="tsd-index-accordion" data-key="Sessions"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Sessions</span></summary>
|
|
453
|
+
<div class="tsd-accordion-details">
|
|
454
|
+
<ul class="tsd-nested-navigation">
|
|
455
|
+
<li><a href="NgrokSession.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Ngrok<wbr/>Session</span></a></li>
|
|
456
|
+
<li><a href="NgrokSessionBuilder.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Session<wbr/>Builder</span></a></li>
|
|
457
|
+
<li><a href="UpdateRequest.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Update<wbr/>Request</span></a></li></ul></div></details></li>
|
|
458
|
+
<li>
|
|
459
|
+
<details class="tsd-index-accordion" data-key="Tunnel Builders"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Tunnel Builders</span></summary>
|
|
460
|
+
<div class="tsd-accordion-details">
|
|
461
|
+
<ul class="tsd-nested-navigation">
|
|
462
|
+
<li><a href="NgrokHttpTunnelBuilder.html" class="current"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Http<wbr/>Tunnel<wbr/>Builder</span></a></li>
|
|
463
|
+
<li><a href="NgrokLabeledTunnelBuilder.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Labeled<wbr/>Tunnel<wbr/>Builder</span></a></li>
|
|
464
|
+
<li><a href="NgrokTcpTunnelBuilder.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tcp<wbr/>Tunnel<wbr/>Builder</span></a></li>
|
|
465
|
+
<li><a href="NgrokTlsTunnelBuilder.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tls<wbr/>Tunnel<wbr/>Builder</span></a></li></ul></div></details></li>
|
|
466
|
+
<li>
|
|
467
|
+
<details class="tsd-index-accordion" data-key="Tunnels"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Tunnels</span></summary>
|
|
468
|
+
<div class="tsd-accordion-details">
|
|
469
|
+
<ul class="tsd-nested-navigation">
|
|
470
|
+
<li><a href="NgrokHttpTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Http<wbr/>Tunnel</span></a></li>
|
|
471
|
+
<li><a href="NgrokLabeledTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Labeled<wbr/>Tunnel</span></a></li>
|
|
472
|
+
<li><a href="NgrokTcpTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tcp<wbr/>Tunnel</span></a></li>
|
|
473
|
+
<li><a href="NgrokTlsTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tls<wbr/>Tunnel</span></a></li></ul></div></details></li></ul></nav></div></div></div>
|
|
474
|
+
<div class="tsd-generator">
|
|
439
475
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
440
|
-
<div class="overlay"></div
|
|
476
|
+
<div class="overlay"></div></body></html>
|