@ngrok/ngrok 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/Cargo.toml +1 -1
- package/README.md +17 -10
- 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 +450 -362
- package/docs/classes/NgrokHttpTunnelBuilder.html +232 -199
- package/docs/classes/NgrokLabeledTunnelBuilder.html +81 -49
- package/docs/classes/NgrokSession.html +96 -66
- package/docs/classes/NgrokSessionBuilder.html +168 -138
- package/docs/classes/NgrokTcpTunnelBuilder.html +112 -80
- package/docs/classes/NgrokTlsTunnelBuilder.html +130 -98
- package/docs/classes/NgrokTunnel.html +233 -0
- package/docs/classes/UpdateRequest.html +66 -33
- package/docs/functions/authtoken.html +85 -0
- package/docs/functions/connect.html +85 -0
- package/docs/functions/consoleLog.html +47 -34
- package/docs/functions/disconnect.html +85 -0
- package/docs/functions/kill.html +80 -0
- package/docs/functions/listen.html +51 -37
- package/docs/functions/listenable.html +49 -40
- package/docs/functions/loggingCallback.html +53 -40
- package/docs/index.html +91 -101
- package/docs/interfaces/Config.html +605 -0
- package/docs/modules.html +67 -46
- package/examples/ngrok-connect-full.js +64 -0
- package/examples/ngrok-connect-minimal.js +16 -0
- package/examples/ngrok-http-full.js +9 -11
- package/examples/ngrok-http-minimum.js +8 -12
- package/examples/ngrok-labeled.js +5 -5
- package/examples/ngrok-listen.js +2 -2
- package/examples/ngrok-tcp.js +5 -6
- package/examples/ngrok-tls.js +5 -5
- package/examples/ngrok-typescript.ts +3 -3
- package/examples/ngrok-windows-pipe.js +1 -1
- package/examples/ngrok-winston.js +2 -2
- package/index.d.ts +233 -124
- package/index.js +119 -7
- package/package.json +17 -16
- 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 +59 -4
- package/src/tls.rs +1 -1
- package/src/tunnel.rs +210 -136
- package/src/tunnel_builder.rs +11 -2
- package/trailer.d.ts +11 -7
- package/trailer.js +113 -2
- package/typedoc.json +3 -0
- package/docs/classes/NgrokHttpTunnel.html +0 -191
- package/docs/classes/NgrokLabeledTunnel.html +0 -179
- package/docs/classes/NgrokTcpTunnel.html +0 -191
- package/docs/classes/NgrokTlsTunnel.html +0 -191
|
@@ -0,0 +1,605 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Config | @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
|
+
<div class="tsd-toolbar-contents container">
|
|
3
|
+
<div class="table-cell" id="tsd-search" data-base="..">
|
|
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>
|
|
5
|
+
<div class="field">
|
|
6
|
+
<div id="tsd-toolbar-links"></div></div>
|
|
7
|
+
<ul class="results">
|
|
8
|
+
<li class="state loading">Preparing search index...</li>
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ngrok/ngrok</a></div>
|
|
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
|
+
<div class="container container-main">
|
|
12
|
+
<div class="col-content">
|
|
13
|
+
<div class="tsd-page-title">
|
|
14
|
+
<ul class="tsd-breadcrumb">
|
|
15
|
+
<li><a href="../modules.html">@ngrok/ngrok</a></li>
|
|
16
|
+
<li><a href="Config.html">Config</a></li></ul>
|
|
17
|
+
<h1>Interface Config</h1></div>
|
|
18
|
+
<section class="tsd-panel tsd-comment">
|
|
19
|
+
<div class="tsd-comment tsd-typography"><p>Configuration object to pass to ngrok.connect()</p>
|
|
20
|
+
</div></section>
|
|
21
|
+
<section class="tsd-panel tsd-hierarchy">
|
|
22
|
+
<h4>Hierarchy</h4>
|
|
23
|
+
<ul class="tsd-hierarchy">
|
|
24
|
+
<li><span class="target">Config</span></li></ul></section><aside class="tsd-sources">
|
|
25
|
+
<ul>
|
|
26
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L11">index.d.ts:11</a></li></ul></aside>
|
|
27
|
+
<section class="tsd-panel-group tsd-index-group">
|
|
28
|
+
<section class="tsd-panel tsd-index-panel">
|
|
29
|
+
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
30
|
+
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
|
31
|
+
<div class="tsd-accordion-details">
|
|
32
|
+
<section class="tsd-index-section">
|
|
33
|
+
<h3 class="tsd-index-heading">Properties</h3>
|
|
34
|
+
<div class="tsd-index-list"><a href="Config.html#addr" 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="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>addr?</span></a>
|
|
35
|
+
<a href="Config.html#auth" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>auth?</span></a>
|
|
36
|
+
<a href="Config.html#authtoken" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>authtoken?</span></a>
|
|
37
|
+
<a href="Config.html#authtoken_from_env" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>authtoken_<wbr/>from_<wbr/>env?</span></a>
|
|
38
|
+
<a href="Config.html#basic_auth" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>basic_<wbr/>auth?</span></a>
|
|
39
|
+
<a href="Config.html#binPath" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>bin<wbr/>Path?</span></a>
|
|
40
|
+
<a href="Config.html#circuit_breaker" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>circuit_<wbr/>breaker?</span></a>
|
|
41
|
+
<a href="Config.html#compression" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>compression?</span></a>
|
|
42
|
+
<a href="Config.html#configPath" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>config<wbr/>Path?</span></a>
|
|
43
|
+
<a href="Config.html#crt" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>crt?</span></a>
|
|
44
|
+
<a href="Config.html#domain" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>domain?</span></a>
|
|
45
|
+
<a href="Config.html#forwards_to" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>forwards_<wbr/>to?</span></a>
|
|
46
|
+
<a href="Config.html#host" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>host?</span></a>
|
|
47
|
+
<a href="Config.html#host_header" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>host_<wbr/>header?</span></a>
|
|
48
|
+
<a href="Config.html#hostname" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>hostname?</span></a>
|
|
49
|
+
<a href="Config.html#inspect" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>inspect?</span></a>
|
|
50
|
+
<a href="Config.html#ip_restriction_allow_cidrs" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>ip_<wbr/>restriction_<wbr/>allow_<wbr/>cidrs?</span></a>
|
|
51
|
+
<a href="Config.html#ip_restriction_deny_cidrs" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>ip_<wbr/>restriction_<wbr/>deny_<wbr/>cidrs?</span></a>
|
|
52
|
+
<a href="Config.html#key" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>key?</span></a>
|
|
53
|
+
<a href="Config.html#labels" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>labels?</span></a>
|
|
54
|
+
<a href="Config.html#metadata" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>metadata?</span></a>
|
|
55
|
+
<a href="Config.html#mutual_tls_cas" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>mutual_<wbr/>tls_<wbr/>cas?</span></a>
|
|
56
|
+
<a href="Config.html#name" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>name?</span></a>
|
|
57
|
+
<a href="Config.html#oauth_allow_domains" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oauth_<wbr/>allow_<wbr/>domains?</span></a>
|
|
58
|
+
<a href="Config.html#oauth_allow_emails" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oauth_<wbr/>allow_<wbr/>emails?</span></a>
|
|
59
|
+
<a href="Config.html#oauth_provider" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oauth_<wbr/>provider?</span></a>
|
|
60
|
+
<a href="Config.html#oauth_scopes" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oauth_<wbr/>scopes?</span></a>
|
|
61
|
+
<a href="Config.html#oidc_allow_domains" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oidc_<wbr/>allow_<wbr/>domains?</span></a>
|
|
62
|
+
<a href="Config.html#oidc_allow_emails" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oidc_<wbr/>allow_<wbr/>emails?</span></a>
|
|
63
|
+
<a href="Config.html#oidc_client_id" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oidc_<wbr/>client_<wbr/>id?</span></a>
|
|
64
|
+
<a href="Config.html#oidc_client_secret" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oidc_<wbr/>client_<wbr/>secret?</span></a>
|
|
65
|
+
<a href="Config.html#oidc_issuer_url" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oidc_<wbr/>issuer_<wbr/>url?</span></a>
|
|
66
|
+
<a href="Config.html#oidc_scopes" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oidc_<wbr/>scopes?</span></a>
|
|
67
|
+
<a href="Config.html#onLogEvent" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>on<wbr/>Log<wbr/>Event?</span></a>
|
|
68
|
+
<a href="Config.html#onStatusChange" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>on<wbr/>Status<wbr/>Change?</span></a>
|
|
69
|
+
<a href="Config.html#port" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>port?</span></a>
|
|
70
|
+
<a href="Config.html#proto" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>proto?</span></a>
|
|
71
|
+
<a href="Config.html#proxy_proto" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>proxy_<wbr/>proto?</span></a>
|
|
72
|
+
<a href="Config.html#region" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>region?</span></a>
|
|
73
|
+
<a href="Config.html#remote_addr" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>remote_<wbr/>addr?</span></a>
|
|
74
|
+
<a href="Config.html#request_header_add" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>request_<wbr/>header_<wbr/>add?</span></a>
|
|
75
|
+
<a href="Config.html#request_header_remove" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>request_<wbr/>header_<wbr/>remove?</span></a>
|
|
76
|
+
<a href="Config.html#response_header_add" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>response_<wbr/>header_<wbr/>add?</span></a>
|
|
77
|
+
<a href="Config.html#response_header_remove" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>response_<wbr/>header_<wbr/>remove?</span></a>
|
|
78
|
+
<a href="Config.html#schemes" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>schemes?</span></a>
|
|
79
|
+
<a href="Config.html#session_metadata" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>session_<wbr/>metadata?</span></a>
|
|
80
|
+
<a href="Config.html#subdomain" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>subdomain?</span></a>
|
|
81
|
+
<a href="Config.html#terminate_at" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>terminate_<wbr/>at?</span></a>
|
|
82
|
+
<a href="Config.html#verify_webhook_provider" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>verify_<wbr/>webhook_<wbr/>provider?</span></a>
|
|
83
|
+
<a href="Config.html#verify_webhook_secret" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>verify_<wbr/>webhook_<wbr/>secret?</span></a>
|
|
84
|
+
<a href="Config.html#web_addr" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>web_<wbr/>addr?</span></a>
|
|
85
|
+
<a href="Config.html#websocket_tcp_converter" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>websocket_<wbr/>tcp_<wbr/>converter?</span></a>
|
|
86
|
+
</div></section></div></details></section></section>
|
|
87
|
+
<section class="tsd-panel-group tsd-member-group">
|
|
88
|
+
<h2>Properties</h2>
|
|
89
|
+
<section class="tsd-panel tsd-member"><a id="addr" class="tsd-anchor"></a>
|
|
90
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>addr</span><a href="#addr" 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>
|
|
91
|
+
<div class="tsd-signature"><span class="tsd-kind-property">addr</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></div>
|
|
92
|
+
<div class="tsd-comment tsd-typography"><p>Port, network address, or named pipe. Defaults to 80.
|
|
93
|
+
Examples: "80", "localhost:8080", "pipe:/tmp/my.sock"</p>
|
|
94
|
+
</div><aside class="tsd-sources">
|
|
95
|
+
<ul>
|
|
96
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L16">index.d.ts:16</a></li></ul></aside></section>
|
|
97
|
+
<section class="tsd-panel tsd-member"><a id="auth" class="tsd-anchor"></a>
|
|
98
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>auth</span><a href="#auth" 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>
|
|
99
|
+
<div class="tsd-signature"><span class="tsd-kind-property">auth</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
|
100
|
+
<ul>
|
|
101
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L17">index.d.ts:17</a></li></ul></aside></section>
|
|
102
|
+
<section class="tsd-panel tsd-member"><a id="authtoken" class="tsd-anchor"></a>
|
|
103
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>authtoken</span><a href="#authtoken" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
104
|
+
<div class="tsd-signature"><span class="tsd-kind-property">authtoken</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
105
|
+
<div class="tsd-comment tsd-typography"><p>Configures the session to authenticate with the provided authtoken. You
|
|
106
|
+
can <a href="https://dashboard.ngrok.com/get-started/your-authtoken">find your existing authtoken</a> or <a href="https://dashboard.ngrok.com/tunnels/authtokens">create a new one</a> in the ngrok
|
|
107
|
+
dashboard.</p>
|
|
108
|
+
<p>See the <a href="https://ngrok.com/docs/ngrok-agent/config#authtoken">authtoken parameter in the ngrok docs</a> for additional details.</p>
|
|
109
|
+
</div><aside class="tsd-sources">
|
|
110
|
+
<ul>
|
|
111
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L29">index.d.ts:29</a></li></ul></aside></section>
|
|
112
|
+
<section class="tsd-panel tsd-member"><a id="authtoken_from_env" class="tsd-anchor"></a>
|
|
113
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>authtoken_<wbr/>from_<wbr/>env</span><a href="#authtoken_from_env" 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>
|
|
114
|
+
<div class="tsd-signature"><span class="tsd-kind-property">authtoken_<wbr/>from_<wbr/>env</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
115
|
+
<div class="tsd-comment tsd-typography"><p>Shortcut for calling [SessionBuilder::authtoken] with the value of the
|
|
116
|
+
NGROK_AUTHTOKEN environment variable.</p>
|
|
117
|
+
</div><aside class="tsd-sources">
|
|
118
|
+
<ul>
|
|
119
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L34">index.d.ts:34</a></li></ul></aside></section>
|
|
120
|
+
<section class="tsd-panel tsd-member"><a id="basic_auth" class="tsd-anchor"></a>
|
|
121
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>basic_<wbr/>auth</span><a href="#basic_auth" 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>
|
|
122
|
+
<div class="tsd-signature"><span class="tsd-kind-property">basic_<wbr/>auth</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
123
|
+
<div class="tsd-comment tsd-typography"><p>Credentials for basic authentication, with username and password colon separated.</p>
|
|
124
|
+
</div><aside class="tsd-sources">
|
|
125
|
+
<ul>
|
|
126
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L36">index.d.ts:36</a></li></ul></aside></section>
|
|
127
|
+
<section class="tsd-panel tsd-member"><a id="binPath" class="tsd-anchor"></a>
|
|
128
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>bin<wbr/>Path</span><a href="#binPath" 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>
|
|
129
|
+
<div class="tsd-signature"><span class="tsd-kind-property">bin<wbr/>Path</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
130
|
+
<div class="tsd-comment tsd-typography"><p>Unused, will warn and be ignored</p>
|
|
131
|
+
</div><aside class="tsd-sources">
|
|
132
|
+
<ul>
|
|
133
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L38">index.d.ts:38</a></li></ul></aside></section>
|
|
134
|
+
<section class="tsd-panel tsd-member"><a id="circuit_breaker" class="tsd-anchor"></a>
|
|
135
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>circuit_<wbr/>breaker</span><a href="#circuit_breaker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
136
|
+
<div class="tsd-signature"><span class="tsd-kind-property">circuit_<wbr/>breaker</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
|
137
|
+
<div class="tsd-comment tsd-typography"><p>Reject requests when 5XX responses exceed this ratio.
|
|
138
|
+
Disabled when 0.</p>
|
|
139
|
+
</div><aside class="tsd-sources">
|
|
140
|
+
<ul>
|
|
141
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L43">index.d.ts:43</a></li></ul></aside></section>
|
|
142
|
+
<section class="tsd-panel tsd-member"><a id="compression" class="tsd-anchor"></a>
|
|
143
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <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>
|
|
144
|
+
<div class="tsd-signature"><span class="tsd-kind-property">compression</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
145
|
+
<div class="tsd-comment tsd-typography"><p>Enable gzip compression for HTTP responses.</p>
|
|
146
|
+
</div><aside class="tsd-sources">
|
|
147
|
+
<ul>
|
|
148
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L45">index.d.ts:45</a></li></ul></aside></section>
|
|
149
|
+
<section class="tsd-panel tsd-member"><a id="configPath" class="tsd-anchor"></a>
|
|
150
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>config<wbr/>Path</span><a href="#configPath" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
151
|
+
<div class="tsd-signature"><span class="tsd-kind-property">config<wbr/>Path</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
152
|
+
<div class="tsd-comment tsd-typography"><p>Unused, will warn and be ignored</p>
|
|
153
|
+
</div><aside class="tsd-sources">
|
|
154
|
+
<ul>
|
|
155
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L47">index.d.ts:47</a></li></ul></aside></section>
|
|
156
|
+
<section class="tsd-panel tsd-member"><a id="crt" class="tsd-anchor"></a>
|
|
157
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>crt</span><a href="#crt" 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>
|
|
158
|
+
<div class="tsd-signature"><span class="tsd-kind-property">crt</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
159
|
+
<div class="tsd-comment tsd-typography"><p>The certificate to use for TLS termination at the ngrok edge in PEM format.
|
|
160
|
+
Only used if "proto" is "tls".</p>
|
|
161
|
+
</div><aside class="tsd-sources">
|
|
162
|
+
<ul>
|
|
163
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L52">index.d.ts:52</a></li></ul></aside></section>
|
|
164
|
+
<section class="tsd-panel tsd-member"><a id="domain" class="tsd-anchor"></a>
|
|
165
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <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>
|
|
166
|
+
<div class="tsd-signature"><span class="tsd-kind-property">domain</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
167
|
+
<div class="tsd-comment tsd-typography"><p>The domain to request for this edge.</p>
|
|
168
|
+
</div><aside class="tsd-sources">
|
|
169
|
+
<ul>
|
|
170
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L54">index.d.ts:54</a></li></ul></aside></section>
|
|
171
|
+
<section class="tsd-panel tsd-member"><a id="forwards_to" class="tsd-anchor"></a>
|
|
172
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>forwards_<wbr/>to</span><a href="#forwards_to" 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>
|
|
173
|
+
<div class="tsd-signature"><span class="tsd-kind-property">forwards_<wbr/>to</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
174
|
+
<div class="tsd-comment tsd-typography"><p>Returns a human-readable string presented in the ngrok dashboard
|
|
175
|
+
and the Tunnels API.</p>
|
|
176
|
+
</div><aside class="tsd-sources">
|
|
177
|
+
<ul>
|
|
178
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L59">index.d.ts:59</a></li></ul></aside></section>
|
|
179
|
+
<section class="tsd-panel tsd-member"><a id="host" class="tsd-anchor"></a>
|
|
180
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>host</span><a href="#host" 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>
|
|
181
|
+
<div class="tsd-signature"><span class="tsd-kind-property">host</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
182
|
+
<div class="tsd-comment tsd-typography"><p>The hostname for the tunnel to forward to.
|
|
183
|
+
Only used if addr is not defined.</p>
|
|
184
|
+
</div><aside class="tsd-sources">
|
|
185
|
+
<ul>
|
|
186
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L66">index.d.ts:66</a></li></ul></aside></section>
|
|
187
|
+
<section class="tsd-panel tsd-member"><a id="host_header" class="tsd-anchor"></a>
|
|
188
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>host_<wbr/>header</span><a href="#host_header" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
189
|
+
<div class="tsd-signature"><span class="tsd-kind-property">host_<wbr/>header</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
190
|
+
<div class="tsd-comment tsd-typography"><p>Unused, will warn and be ignored</p>
|
|
191
|
+
</div><aside class="tsd-sources">
|
|
192
|
+
<ul>
|
|
193
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L61">index.d.ts:61</a></li></ul></aside></section>
|
|
194
|
+
<section class="tsd-panel tsd-member"><a id="hostname" class="tsd-anchor"></a>
|
|
195
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>hostname</span><a href="#hostname" 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>
|
|
196
|
+
<div class="tsd-signature"><span class="tsd-kind-property">hostname</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
197
|
+
<div class="tsd-comment tsd-typography"><p>Synonym for domain</p>
|
|
198
|
+
</div><aside class="tsd-sources">
|
|
199
|
+
<ul>
|
|
200
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L68">index.d.ts:68</a></li></ul></aside></section>
|
|
201
|
+
<section class="tsd-panel tsd-member"><a id="inspect" class="tsd-anchor"></a>
|
|
202
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>inspect</span><a href="#inspect" 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>
|
|
203
|
+
<div class="tsd-signature"><span class="tsd-kind-property">inspect</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
204
|
+
<div class="tsd-comment tsd-typography"><p>Unused, will warn and be ignored</p>
|
|
205
|
+
</div><aside class="tsd-sources">
|
|
206
|
+
<ul>
|
|
207
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L70">index.d.ts:70</a></li></ul></aside></section>
|
|
208
|
+
<section class="tsd-panel tsd-member"><a id="ip_restriction_allow_cidrs" class="tsd-anchor"></a>
|
|
209
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>ip_<wbr/>restriction_<wbr/>allow_<wbr/>cidrs</span><a href="#ip_restriction_allow_cidrs" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
210
|
+
<div class="tsd-signature"><span class="tsd-kind-property">ip_<wbr/>restriction_<wbr/>allow_<wbr/>cidrs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
211
|
+
<div class="tsd-comment tsd-typography"><p>Restriction placed on the origin of incoming connections to the edge to only allow these CIDR ranges.</p>
|
|
212
|
+
</div><aside class="tsd-sources">
|
|
213
|
+
<ul>
|
|
214
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L72">index.d.ts:72</a></li></ul></aside></section>
|
|
215
|
+
<section class="tsd-panel tsd-member"><a id="ip_restriction_deny_cidrs" class="tsd-anchor"></a>
|
|
216
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>ip_<wbr/>restriction_<wbr/>deny_<wbr/>cidrs</span><a href="#ip_restriction_deny_cidrs" 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>
|
|
217
|
+
<div class="tsd-signature"><span class="tsd-kind-property">ip_<wbr/>restriction_<wbr/>deny_<wbr/>cidrs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
218
|
+
<div class="tsd-comment tsd-typography"><p>Restriction placed on the origin of incoming connections to the edge to deny these CIDR ranges.</p>
|
|
219
|
+
</div><aside class="tsd-sources">
|
|
220
|
+
<ul>
|
|
221
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L74">index.d.ts:74</a></li></ul></aside></section>
|
|
222
|
+
<section class="tsd-panel tsd-member"><a id="key" class="tsd-anchor"></a>
|
|
223
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>key</span><a href="#key" 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>
|
|
224
|
+
<div class="tsd-signature"><span class="tsd-kind-property">key</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
225
|
+
<div class="tsd-comment tsd-typography"><p>The certificate to use for TLS termination at the ngrok edge in PEM format.
|
|
226
|
+
Only used if "proto" is "tls".</p>
|
|
227
|
+
</div><aside class="tsd-sources">
|
|
228
|
+
<ul>
|
|
229
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L79">index.d.ts:79</a></li></ul></aside></section>
|
|
230
|
+
<section class="tsd-panel tsd-member"><a id="labels" class="tsd-anchor"></a>
|
|
231
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>labels</span><a href="#labels" 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>
|
|
232
|
+
<div class="tsd-signature"><span class="tsd-kind-property">labels</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
233
|
+
<div class="tsd-comment tsd-typography"><p>Add label, value pairs for this tunnel, colon separated.</p>
|
|
234
|
+
</div><aside class="tsd-sources">
|
|
235
|
+
<ul>
|
|
236
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L81">index.d.ts:81</a></li></ul></aside></section>
|
|
237
|
+
<section class="tsd-panel tsd-member"><a id="metadata" class="tsd-anchor"></a>
|
|
238
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <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>
|
|
239
|
+
<div class="tsd-signature"><span class="tsd-kind-property">metadata</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
240
|
+
<div class="tsd-comment tsd-typography"><p>Tunnel-specific opaque metadata. Viewable via the API.</p>
|
|
241
|
+
</div><aside class="tsd-sources">
|
|
242
|
+
<ul>
|
|
243
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L83">index.d.ts:83</a></li></ul></aside></section>
|
|
244
|
+
<section class="tsd-panel tsd-member"><a id="mutual_tls_cas" class="tsd-anchor"></a>
|
|
245
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>mutual_<wbr/>tls_<wbr/>cas</span><a href="#mutual_tls_cas" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
246
|
+
<div class="tsd-signature"><span class="tsd-kind-property">mutual_<wbr/>tls_<wbr/>cas</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
247
|
+
<div class="tsd-comment tsd-typography"><p>Certificates to use for client authentication at the ngrok edge.
|
|
248
|
+
Only used if "proto" is "tls" or "http".</p>
|
|
249
|
+
</div><aside class="tsd-sources">
|
|
250
|
+
<ul>
|
|
251
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L88">index.d.ts:88</a></li></ul></aside></section>
|
|
252
|
+
<section class="tsd-panel tsd-member"><a id="name" class="tsd-anchor"></a>
|
|
253
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>name</span><a href="#name" 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>
|
|
254
|
+
<div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
255
|
+
<div class="tsd-comment tsd-typography"><p>Unused, will warn and be ignored</p>
|
|
256
|
+
</div><aside class="tsd-sources">
|
|
257
|
+
<ul>
|
|
258
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L90">index.d.ts:90</a></li></ul></aside></section>
|
|
259
|
+
<section class="tsd-panel tsd-member"><a id="oauth_allow_domains" class="tsd-anchor"></a>
|
|
260
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>oauth_<wbr/>allow_<wbr/>domains</span><a href="#oauth_allow_domains" 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>
|
|
261
|
+
<div class="tsd-signature"><span class="tsd-kind-property">oauth_<wbr/>allow_<wbr/>domains</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
262
|
+
<div class="tsd-comment tsd-typography"><p>OAuth configuration of domains to allow.</p>
|
|
263
|
+
</div><aside class="tsd-sources">
|
|
264
|
+
<ul>
|
|
265
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L92">index.d.ts:92</a></li></ul></aside></section>
|
|
266
|
+
<section class="tsd-panel tsd-member"><a id="oauth_allow_emails" class="tsd-anchor"></a>
|
|
267
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>oauth_<wbr/>allow_<wbr/>emails</span><a href="#oauth_allow_emails" 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>
|
|
268
|
+
<div class="tsd-signature"><span class="tsd-kind-property">oauth_<wbr/>allow_<wbr/>emails</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
269
|
+
<div class="tsd-comment tsd-typography"><p>OAuth configuration of email addresses to allow.</p>
|
|
270
|
+
</div><aside class="tsd-sources">
|
|
271
|
+
<ul>
|
|
272
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L94">index.d.ts:94</a></li></ul></aside></section>
|
|
273
|
+
<section class="tsd-panel tsd-member"><a id="oauth_provider" class="tsd-anchor"></a>
|
|
274
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>oauth_<wbr/>provider</span><a href="#oauth_provider" 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>
|
|
275
|
+
<div class="tsd-signature"><span class="tsd-kind-property">oauth_<wbr/>provider</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
276
|
+
<div class="tsd-comment tsd-typography"><p>OAuth configuration of the provider, e.g. "google".
|
|
277
|
+
<a href="https://ngrok.com/docs/cloud-edge/modules/oauth/">https://ngrok.com/docs/cloud-edge/modules/oauth/</a></p>
|
|
278
|
+
</div><aside class="tsd-sources">
|
|
279
|
+
<ul>
|
|
280
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L101">index.d.ts:101</a></li></ul></aside></section>
|
|
281
|
+
<section class="tsd-panel tsd-member"><a id="oauth_scopes" class="tsd-anchor"></a>
|
|
282
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>oauth_<wbr/>scopes</span><a href="#oauth_scopes" 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>
|
|
283
|
+
<div class="tsd-signature"><span class="tsd-kind-property">oauth_<wbr/>scopes</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
284
|
+
<div class="tsd-comment tsd-typography"><p>OAuth configuration of scopes.</p>
|
|
285
|
+
</div><aside class="tsd-sources">
|
|
286
|
+
<ul>
|
|
287
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L96">index.d.ts:96</a></li></ul></aside></section>
|
|
288
|
+
<section class="tsd-panel tsd-member"><a id="oidc_allow_domains" class="tsd-anchor"></a>
|
|
289
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>oidc_<wbr/>allow_<wbr/>domains</span><a href="#oidc_allow_domains" 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>
|
|
290
|
+
<div class="tsd-signature"><span class="tsd-kind-property">oidc_<wbr/>allow_<wbr/>domains</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
291
|
+
<div class="tsd-comment tsd-typography"><p>OIDC configuration of domains to allow.</p>
|
|
292
|
+
</div><aside class="tsd-sources">
|
|
293
|
+
<ul>
|
|
294
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L111">index.d.ts:111</a></li></ul></aside></section>
|
|
295
|
+
<section class="tsd-panel tsd-member"><a id="oidc_allow_emails" class="tsd-anchor"></a>
|
|
296
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>oidc_<wbr/>allow_<wbr/>emails</span><a href="#oidc_allow_emails" 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>
|
|
297
|
+
<div class="tsd-signature"><span class="tsd-kind-property">oidc_<wbr/>allow_<wbr/>emails</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
298
|
+
<div class="tsd-comment tsd-typography"><p>OIDC configuration of email addresses to allow.</p>
|
|
299
|
+
</div><aside class="tsd-sources">
|
|
300
|
+
<ul>
|
|
301
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L113">index.d.ts:113</a></li></ul></aside></section>
|
|
302
|
+
<section class="tsd-panel tsd-member"><a id="oidc_client_id" class="tsd-anchor"></a>
|
|
303
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>oidc_<wbr/>client_<wbr/>id</span><a href="#oidc_client_id" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
304
|
+
<div class="tsd-signature"><span class="tsd-kind-property">oidc_<wbr/>client_<wbr/>id</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
305
|
+
<div class="tsd-comment tsd-typography"><p>OIDC configuration of client ID.</p>
|
|
306
|
+
</div><aside class="tsd-sources">
|
|
307
|
+
<ul>
|
|
308
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L103">index.d.ts:103</a></li></ul></aside></section>
|
|
309
|
+
<section class="tsd-panel tsd-member"><a id="oidc_client_secret" class="tsd-anchor"></a>
|
|
310
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>oidc_<wbr/>client_<wbr/>secret</span><a href="#oidc_client_secret" 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>
|
|
311
|
+
<div class="tsd-signature"><span class="tsd-kind-property">oidc_<wbr/>client_<wbr/>secret</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
312
|
+
<div class="tsd-comment tsd-typography"><p>OIDC configuration of client secret.</p>
|
|
313
|
+
</div><aside class="tsd-sources">
|
|
314
|
+
<ul>
|
|
315
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L105">index.d.ts:105</a></li></ul></aside></section>
|
|
316
|
+
<section class="tsd-panel tsd-member"><a id="oidc_issuer_url" class="tsd-anchor"></a>
|
|
317
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>oidc_<wbr/>issuer_<wbr/>url</span><a href="#oidc_issuer_url" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
318
|
+
<div class="tsd-signature"><span class="tsd-kind-property">oidc_<wbr/>issuer_<wbr/>url</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
319
|
+
<div class="tsd-comment tsd-typography"><p>OIDC configuration of the issuer URL.</p>
|
|
320
|
+
</div><aside class="tsd-sources">
|
|
321
|
+
<ul>
|
|
322
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L109">index.d.ts:109</a></li></ul></aside></section>
|
|
323
|
+
<section class="tsd-panel tsd-member"><a id="oidc_scopes" class="tsd-anchor"></a>
|
|
324
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>oidc_<wbr/>scopes</span><a href="#oidc_scopes" 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>
|
|
325
|
+
<div class="tsd-signature"><span class="tsd-kind-property">oidc_<wbr/>scopes</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
326
|
+
<div class="tsd-comment tsd-typography"><p>OIDC configuration of scopes.</p>
|
|
327
|
+
</div><aside class="tsd-sources">
|
|
328
|
+
<ul>
|
|
329
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L107">index.d.ts:107</a></li></ul></aside></section>
|
|
330
|
+
<section class="tsd-panel tsd-member"><a id="onLogEvent" class="tsd-anchor"></a>
|
|
331
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>on<wbr/>Log<wbr/>Event</span><a href="#onLogEvent" 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>
|
|
332
|
+
<div class="tsd-signature"><span class="tsd-kind-property">on<wbr/>Log<wbr/>Event</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></div>
|
|
333
|
+
<div class="tsd-type-declaration">
|
|
334
|
+
<h4>Type declaration</h4>
|
|
335
|
+
<ul class="tsd-parameters">
|
|
336
|
+
<li class="tsd-parameter-signature">
|
|
337
|
+
<ul class="tsd-signatures">
|
|
338
|
+
<li class="tsd-signature" id="onLogEvent.__type.__type-1"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
339
|
+
<li class="tsd-description">
|
|
340
|
+
<div class="tsd-comment tsd-typography"><p>Returns log messages from the ngrok library.</p>
|
|
341
|
+
</div>
|
|
342
|
+
<div class="tsd-parameters">
|
|
343
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
344
|
+
<ul class="tsd-parameter-list">
|
|
345
|
+
<li>
|
|
346
|
+
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
347
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
|
|
348
|
+
<ul>
|
|
349
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L115">index.d.ts:115</a></li></ul></aside></section>
|
|
350
|
+
<section class="tsd-panel tsd-member"><a id="onStatusChange" class="tsd-anchor"></a>
|
|
351
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>on<wbr/>Status<wbr/>Change</span><a href="#onStatusChange" 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>
|
|
352
|
+
<div class="tsd-signature"><span class="tsd-kind-property">on<wbr/>Status<wbr/>Change</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">status</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></div>
|
|
353
|
+
<div class="tsd-type-declaration">
|
|
354
|
+
<h4>Type declaration</h4>
|
|
355
|
+
<ul class="tsd-parameters">
|
|
356
|
+
<li class="tsd-parameter-signature">
|
|
357
|
+
<ul class="tsd-signatures">
|
|
358
|
+
<li class="tsd-signature" id="onStatusChange.__type-2.__type-3"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">status</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
359
|
+
<li class="tsd-description">
|
|
360
|
+
<div class="tsd-comment tsd-typography"><p>'closed' - connection is lost, 'connected' - reconnected</p>
|
|
361
|
+
</div>
|
|
362
|
+
<div class="tsd-parameters">
|
|
363
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
364
|
+
<ul class="tsd-parameter-list">
|
|
365
|
+
<li>
|
|
366
|
+
<h5><span class="tsd-kind-parameter">status</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
367
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
|
|
368
|
+
<ul>
|
|
369
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L117">index.d.ts:117</a></li></ul></aside></section>
|
|
370
|
+
<section class="tsd-panel tsd-member"><a id="port" class="tsd-anchor"></a>
|
|
371
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>port</span><a href="#port" 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>
|
|
372
|
+
<div class="tsd-signature"><span class="tsd-kind-property">port</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
|
373
|
+
<div class="tsd-comment tsd-typography"><p>The port for the tunnel to forward to.
|
|
374
|
+
Only used if addr is not defined.</p>
|
|
375
|
+
</div><aside class="tsd-sources">
|
|
376
|
+
<ul>
|
|
377
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L122">index.d.ts:122</a></li></ul></aside></section>
|
|
378
|
+
<section class="tsd-panel tsd-member"><a id="proto" class="tsd-anchor"></a>
|
|
379
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>proto</span><a href="#proto" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
380
|
+
<div class="tsd-signature"><span class="tsd-kind-property">proto</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
381
|
+
<div class="tsd-comment tsd-typography"><p>The type of tunnel to use, one of http|tcp|tls|labeled, defaults to http.</p>
|
|
382
|
+
</div><aside class="tsd-sources">
|
|
383
|
+
<ul>
|
|
384
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L124">index.d.ts:124</a></li></ul></aside></section>
|
|
385
|
+
<section class="tsd-panel tsd-member"><a id="proxy_proto" class="tsd-anchor"></a>
|
|
386
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>proxy_<wbr/>proto</span><a href="#proxy_proto" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
387
|
+
<div class="tsd-signature"><span class="tsd-kind-property">proxy_<wbr/>proto</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
388
|
+
<div class="tsd-comment tsd-typography"><p>The version of PROXY protocol to use with this tunnel "1", "2", or "" if not using.</p>
|
|
389
|
+
</div><aside class="tsd-sources">
|
|
390
|
+
<ul>
|
|
391
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L126">index.d.ts:126</a></li></ul></aside></section>
|
|
392
|
+
<section class="tsd-panel tsd-member"><a id="region" class="tsd-anchor"></a>
|
|
393
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>region</span><a href="#region" 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>
|
|
394
|
+
<div class="tsd-signature"><span class="tsd-kind-property">region</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
395
|
+
<div class="tsd-comment tsd-typography"><p>Unused, will warn and be ignored</p>
|
|
396
|
+
</div><aside class="tsd-sources">
|
|
397
|
+
<ul>
|
|
398
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L136">index.d.ts:136</a></li></ul></aside></section>
|
|
399
|
+
<section class="tsd-panel tsd-member"><a id="remote_addr" class="tsd-anchor"></a>
|
|
400
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>remote_<wbr/>addr</span><a href="#remote_addr" 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>
|
|
401
|
+
<div class="tsd-signature"><span class="tsd-kind-property">remote_<wbr/>addr</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
402
|
+
<div class="tsd-comment tsd-typography"><p>The TCP address to request for this edge.
|
|
403
|
+
Only used if proto is "tcp".</p>
|
|
404
|
+
</div><aside class="tsd-sources">
|
|
405
|
+
<ul>
|
|
406
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L141">index.d.ts:141</a></li></ul></aside></section>
|
|
407
|
+
<section class="tsd-panel tsd-member"><a id="request_header_add" class="tsd-anchor"></a>
|
|
408
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>request_<wbr/>header_<wbr/>add</span><a href="#request_header_add" 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>
|
|
409
|
+
<div class="tsd-signature"><span class="tsd-kind-property">request_<wbr/>header_<wbr/>add</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
410
|
+
<div class="tsd-comment tsd-typography"><p>Adds a header to all requests to this edge.</p>
|
|
411
|
+
</div><aside class="tsd-sources">
|
|
412
|
+
<ul>
|
|
413
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L128">index.d.ts:128</a></li></ul></aside></section>
|
|
414
|
+
<section class="tsd-panel tsd-member"><a id="request_header_remove" class="tsd-anchor"></a>
|
|
415
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>request_<wbr/>header_<wbr/>remove</span><a href="#request_header_remove" 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>
|
|
416
|
+
<div class="tsd-signature"><span class="tsd-kind-property">request_<wbr/>header_<wbr/>remove</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
417
|
+
<div class="tsd-comment tsd-typography"><p>Removes a header from requests to this edge.</p>
|
|
418
|
+
</div><aside class="tsd-sources">
|
|
419
|
+
<ul>
|
|
420
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L130">index.d.ts:130</a></li></ul></aside></section>
|
|
421
|
+
<section class="tsd-panel tsd-member"><a id="response_header_add" class="tsd-anchor"></a>
|
|
422
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>response_<wbr/>header_<wbr/>add</span><a href="#response_header_add" 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>
|
|
423
|
+
<div class="tsd-signature"><span class="tsd-kind-property">response_<wbr/>header_<wbr/>add</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
424
|
+
<div class="tsd-comment tsd-typography"><p>Adds a header to all responses coming from this edge.</p>
|
|
425
|
+
</div><aside class="tsd-sources">
|
|
426
|
+
<ul>
|
|
427
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L132">index.d.ts:132</a></li></ul></aside></section>
|
|
428
|
+
<section class="tsd-panel tsd-member"><a id="response_header_remove" class="tsd-anchor"></a>
|
|
429
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>response_<wbr/>header_<wbr/>remove</span><a href="#response_header_remove" 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>
|
|
430
|
+
<div class="tsd-signature"><span class="tsd-kind-property">response_<wbr/>header_<wbr/>remove</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
431
|
+
<div class="tsd-comment tsd-typography"><p>Removes a header from responses from this edge.</p>
|
|
432
|
+
</div><aside class="tsd-sources">
|
|
433
|
+
<ul>
|
|
434
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L134">index.d.ts:134</a></li></ul></aside></section>
|
|
435
|
+
<section class="tsd-panel tsd-member"><a id="schemes" class="tsd-anchor"></a>
|
|
436
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>schemes</span><a href="#schemes" 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>
|
|
437
|
+
<div class="tsd-signature"><span class="tsd-kind-property">schemes</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
438
|
+
<div class="tsd-comment tsd-typography"><p>The scheme that this edge should use, defaults to "https".
|
|
439
|
+
If multiple are given only the last one is used.</p>
|
|
440
|
+
</div><aside class="tsd-sources">
|
|
441
|
+
<ul>
|
|
442
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L146">index.d.ts:146</a></li></ul></aside></section>
|
|
443
|
+
<section class="tsd-panel tsd-member"><a id="session_metadata" class="tsd-anchor"></a>
|
|
444
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>session_<wbr/>metadata</span><a href="#session_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>
|
|
445
|
+
<div class="tsd-signature"><span class="tsd-kind-property">session_<wbr/>metadata</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
446
|
+
<div class="tsd-comment tsd-typography"><p>Configures the opaque, machine-readable metadata string for this session.
|
|
447
|
+
Metadata is made available to you in the ngrok dashboard and the Agents API
|
|
448
|
+
resource. It is a useful way to allow you to uniquely identify sessions. We
|
|
449
|
+
suggest encoding the value in a structured format like JSON.</p>
|
|
450
|
+
<p>See the <a href="https://ngrok.com/docs/ngrok-agent/config#metadata">metdata parameter in the ngrok docs</a> for additional details.</p>
|
|
451
|
+
</div><aside class="tsd-sources">
|
|
452
|
+
<ul>
|
|
453
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L157">index.d.ts:157</a></li></ul></aside></section>
|
|
454
|
+
<section class="tsd-panel tsd-member"><a id="subdomain" class="tsd-anchor"></a>
|
|
455
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>subdomain</span><a href="#subdomain" 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>
|
|
456
|
+
<div class="tsd-signature"><span class="tsd-kind-property">subdomain</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
457
|
+
<div class="tsd-comment tsd-typography"><p>Unused, use domain instead, will warn and be ignored</p>
|
|
458
|
+
</div><aside class="tsd-sources">
|
|
459
|
+
<ul>
|
|
460
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L159">index.d.ts:159</a></li></ul></aside></section>
|
|
461
|
+
<section class="tsd-panel tsd-member"><a id="terminate_at" class="tsd-anchor"></a>
|
|
462
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>terminate_<wbr/>at</span><a href="#terminate_at" 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>
|
|
463
|
+
<div class="tsd-signature"><span class="tsd-kind-property">terminate_<wbr/>at</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
464
|
+
<div class="tsd-comment tsd-typography"><p>Unused, will warn and be ignored</p>
|
|
465
|
+
</div><aside class="tsd-sources">
|
|
466
|
+
<ul>
|
|
467
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L161">index.d.ts:161</a></li></ul></aside></section>
|
|
468
|
+
<section class="tsd-panel tsd-member"><a id="verify_webhook_provider" class="tsd-anchor"></a>
|
|
469
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>verify_<wbr/>webhook_<wbr/>provider</span><a href="#verify_webhook_provider" 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>
|
|
470
|
+
<div class="tsd-signature"><span class="tsd-kind-property">verify_<wbr/>webhook_<wbr/>provider</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
471
|
+
<div class="tsd-comment tsd-typography"><p>WebhookVerification configuration, the provider to use.</p>
|
|
472
|
+
</div><aside class="tsd-sources">
|
|
473
|
+
<ul>
|
|
474
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L163">index.d.ts:163</a></li></ul></aside></section>
|
|
475
|
+
<section class="tsd-panel tsd-member"><a id="verify_webhook_secret" class="tsd-anchor"></a>
|
|
476
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>verify_<wbr/>webhook_<wbr/>secret</span><a href="#verify_webhook_secret" 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>
|
|
477
|
+
<div class="tsd-signature"><span class="tsd-kind-property">verify_<wbr/>webhook_<wbr/>secret</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
478
|
+
<div class="tsd-comment tsd-typography"><p>WebhookVerification configuration, the secret to use.</p>
|
|
479
|
+
</div><aside class="tsd-sources">
|
|
480
|
+
<ul>
|
|
481
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L165">index.d.ts:165</a></li></ul></aside></section>
|
|
482
|
+
<section class="tsd-panel tsd-member"><a id="web_addr" class="tsd-anchor"></a>
|
|
483
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>web_<wbr/>addr</span><a href="#web_addr" 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>
|
|
484
|
+
<div class="tsd-signature"><span class="tsd-kind-property">web_<wbr/>addr</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
485
|
+
<div class="tsd-comment tsd-typography"><p>Unused, will warn and be ignored</p>
|
|
486
|
+
</div><aside class="tsd-sources">
|
|
487
|
+
<ul>
|
|
488
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L167">index.d.ts:167</a></li></ul></aside></section>
|
|
489
|
+
<section class="tsd-panel tsd-member"><a id="websocket_tcp_converter" class="tsd-anchor"></a>
|
|
490
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>websocket_<wbr/>tcp_<wbr/>converter</span><a href="#websocket_tcp_converter" 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>
|
|
491
|
+
<div class="tsd-signature"><span class="tsd-kind-property">websocket_<wbr/>tcp_<wbr/>converter</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
492
|
+
<div class="tsd-comment tsd-typography"><p>Convert incoming websocket connections to TCP-like streams.</p>
|
|
493
|
+
</div><aside class="tsd-sources">
|
|
494
|
+
<ul>
|
|
495
|
+
<li>Defined in <a href="https://github.com/ngrok/ngrok-js/blob/01fe2d6/index.d.ts#L169">index.d.ts:169</a></li></ul></aside></section></section></div>
|
|
496
|
+
<div class="col-sidebar">
|
|
497
|
+
<div class="page-menu">
|
|
498
|
+
<div class="tsd-navigation settings">
|
|
499
|
+
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
500
|
+
<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>
|
|
501
|
+
<div class="tsd-accordion-details">
|
|
502
|
+
<div class="tsd-filter-visibility">
|
|
503
|
+
<h4 class="uppercase">Member Visibility</h4><form>
|
|
504
|
+
<ul id="tsd-filter-options">
|
|
505
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><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>Protected</span></label></li>
|
|
506
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><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>Private</span></label></li>
|
|
507
|
+
<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>
|
|
508
|
+
<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>
|
|
509
|
+
<div class="tsd-theme-toggle">
|
|
510
|
+
<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>
|
|
511
|
+
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
|
512
|
+
<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>
|
|
513
|
+
<div class="tsd-accordion-details">
|
|
514
|
+
<ul>
|
|
515
|
+
<li><a href="#addr" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>addr</span></a></li>
|
|
516
|
+
<li><a href="#auth" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>auth</span></a></li>
|
|
517
|
+
<li><a href="#authtoken" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>authtoken</span></a></li>
|
|
518
|
+
<li><a href="#authtoken_from_env" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>authtoken_<wbr/>from_<wbr/>env</span></a></li>
|
|
519
|
+
<li><a href="#basic_auth" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>basic_<wbr/>auth</span></a></li>
|
|
520
|
+
<li><a href="#binPath" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>bin<wbr/>Path</span></a></li>
|
|
521
|
+
<li><a href="#circuit_breaker" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>circuit_<wbr/>breaker</span></a></li>
|
|
522
|
+
<li><a href="#compression" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>compression</span></a></li>
|
|
523
|
+
<li><a href="#configPath" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>config<wbr/>Path</span></a></li>
|
|
524
|
+
<li><a href="#crt" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>crt</span></a></li>
|
|
525
|
+
<li><a href="#domain" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>domain</span></a></li>
|
|
526
|
+
<li><a href="#forwards_to" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>forwards_<wbr/>to</span></a></li>
|
|
527
|
+
<li><a href="#host" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>host</span></a></li>
|
|
528
|
+
<li><a href="#host_header" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>host_<wbr/>header</span></a></li>
|
|
529
|
+
<li><a href="#hostname" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>hostname</span></a></li>
|
|
530
|
+
<li><a href="#inspect" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>inspect</span></a></li>
|
|
531
|
+
<li><a href="#ip_restriction_allow_cidrs" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>ip_<wbr/>restriction_<wbr/>allow_<wbr/>cidrs</span></a></li>
|
|
532
|
+
<li><a href="#ip_restriction_deny_cidrs" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>ip_<wbr/>restriction_<wbr/>deny_<wbr/>cidrs</span></a></li>
|
|
533
|
+
<li><a href="#key" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>key</span></a></li>
|
|
534
|
+
<li><a href="#labels" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>labels</span></a></li>
|
|
535
|
+
<li><a href="#metadata" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>metadata</span></a></li>
|
|
536
|
+
<li><a href="#mutual_tls_cas" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>mutual_<wbr/>tls_<wbr/>cas</span></a></li>
|
|
537
|
+
<li><a href="#name" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>name</span></a></li>
|
|
538
|
+
<li><a href="#oauth_allow_domains" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oauth_<wbr/>allow_<wbr/>domains</span></a></li>
|
|
539
|
+
<li><a href="#oauth_allow_emails" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oauth_<wbr/>allow_<wbr/>emails</span></a></li>
|
|
540
|
+
<li><a href="#oauth_provider" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oauth_<wbr/>provider</span></a></li>
|
|
541
|
+
<li><a href="#oauth_scopes" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oauth_<wbr/>scopes</span></a></li>
|
|
542
|
+
<li><a href="#oidc_allow_domains" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oidc_<wbr/>allow_<wbr/>domains</span></a></li>
|
|
543
|
+
<li><a href="#oidc_allow_emails" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oidc_<wbr/>allow_<wbr/>emails</span></a></li>
|
|
544
|
+
<li><a href="#oidc_client_id" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oidc_<wbr/>client_<wbr/>id</span></a></li>
|
|
545
|
+
<li><a href="#oidc_client_secret" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oidc_<wbr/>client_<wbr/>secret</span></a></li>
|
|
546
|
+
<li><a href="#oidc_issuer_url" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oidc_<wbr/>issuer_<wbr/>url</span></a></li>
|
|
547
|
+
<li><a href="#oidc_scopes" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>oidc_<wbr/>scopes</span></a></li>
|
|
548
|
+
<li><a href="#onLogEvent" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>on<wbr/>Log<wbr/>Event</span></a></li>
|
|
549
|
+
<li><a href="#onStatusChange" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>on<wbr/>Status<wbr/>Change</span></a></li>
|
|
550
|
+
<li><a href="#port" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>port</span></a></li>
|
|
551
|
+
<li><a href="#proto" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>proto</span></a></li>
|
|
552
|
+
<li><a href="#proxy_proto" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>proxy_<wbr/>proto</span></a></li>
|
|
553
|
+
<li><a href="#region" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>region</span></a></li>
|
|
554
|
+
<li><a href="#remote_addr" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>remote_<wbr/>addr</span></a></li>
|
|
555
|
+
<li><a href="#request_header_add" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>request_<wbr/>header_<wbr/>add</span></a></li>
|
|
556
|
+
<li><a href="#request_header_remove" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>request_<wbr/>header_<wbr/>remove</span></a></li>
|
|
557
|
+
<li><a href="#response_header_add" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>response_<wbr/>header_<wbr/>add</span></a></li>
|
|
558
|
+
<li><a href="#response_header_remove" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>response_<wbr/>header_<wbr/>remove</span></a></li>
|
|
559
|
+
<li><a href="#schemes" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>schemes</span></a></li>
|
|
560
|
+
<li><a href="#session_metadata" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>session_<wbr/>metadata</span></a></li>
|
|
561
|
+
<li><a href="#subdomain" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>subdomain</span></a></li>
|
|
562
|
+
<li><a href="#terminate_at" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>terminate_<wbr/>at</span></a></li>
|
|
563
|
+
<li><a href="#verify_webhook_provider" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>verify_<wbr/>webhook_<wbr/>provider</span></a></li>
|
|
564
|
+
<li><a href="#verify_webhook_secret" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>verify_<wbr/>webhook_<wbr/>secret</span></a></li>
|
|
565
|
+
<li><a href="#web_addr" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>web_<wbr/>addr</span></a></li>
|
|
566
|
+
<li><a href="#websocket_tcp_converter" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>websocket_<wbr/>tcp_<wbr/>converter</span></a></li></ul></div></details></div>
|
|
567
|
+
<div class="site-menu">
|
|
568
|
+
<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>
|
|
569
|
+
<ul class="tsd-small-nested-navigation">
|
|
570
|
+
<li>
|
|
571
|
+
<details class="tsd-index-accordion" data-key="Tunnel and Sessions"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Tunnel and Sessions</span></summary>
|
|
572
|
+
<div class="tsd-accordion-details">
|
|
573
|
+
<ul class="tsd-nested-navigation">
|
|
574
|
+
<li><a href="../classes/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>
|
|
575
|
+
<li><a href="../classes/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>
|
|
576
|
+
<li><a href="../classes/NgrokTunnel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Ngrok<wbr/>Tunnel</span></a></li></ul></div></details></li>
|
|
577
|
+
<li>
|
|
578
|
+
<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>
|
|
579
|
+
<div class="tsd-accordion-details">
|
|
580
|
+
<ul class="tsd-nested-navigation">
|
|
581
|
+
<li><a href="../classes/NgrokHttpTunnelBuilder.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<wbr/>Builder</span></a></li>
|
|
582
|
+
<li><a href="../classes/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>
|
|
583
|
+
<li><a href="../classes/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>
|
|
584
|
+
<li><a href="../classes/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>
|
|
585
|
+
<li>
|
|
586
|
+
<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>
|
|
587
|
+
<div class="tsd-accordion-details">
|
|
588
|
+
<ul class="tsd-nested-navigation">
|
|
589
|
+
<li><a href="Config.html" class="current"><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>
|
|
590
|
+
<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>
|
|
591
|
+
<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>
|
|
592
|
+
<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>
|
|
593
|
+
<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>
|
|
594
|
+
<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>
|
|
595
|
+
<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>
|
|
596
|
+
<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>
|
|
597
|
+
<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>
|
|
598
|
+
<li>
|
|
599
|
+
<details class="tsd-index-accordion" data-key="Classes"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><span>Classes</span></summary>
|
|
600
|
+
<div class="tsd-accordion-details">
|
|
601
|
+
<ul class="tsd-nested-navigation">
|
|
602
|
+
<li><a href="../classes/UpdateRequest.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Update<wbr/>Request</span></a></li></ul></div></details></li></ul></nav></div></div></div>
|
|
603
|
+
<div class="tsd-generator">
|
|
604
|
+
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
605
|
+
<div class="overlay"></div></body></html>
|