Skip to content

Commit 3fc5ec1

Browse files
committed
1.1.0
1 parent 40e14be commit 3fc5ec1

40 files changed

+192
-187
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.1.0:
2+
3+
- Add `appProtocol(string)` to http listener builder, and `app_protocol: string` as a `ngrok.forward()` argument. Setting this to "http2" will enable HTTP/2 support to the backend application.
4+
15
## 1.0.0:
26

37
- Add policy support to Listener builders and `ngrok.forward`

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
edition = "2021"
33
name = "ngrok-javascript"
4-
version = "1.0.0"
4+
version = "1.1.0"
55

66
[lib]
77
crate-type = ["cdylib"]

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ const listener = await ngrok.forward({
230230
proxy_proto: "", // One of: "", "1", "2"
231231
schemes: ["HTTPS"],
232232
labels: "edge:edghts_2G...", // Along with proto="labeled"
233+
app_protocol: "http2",
233234
// module configuration
234235
basic_auth: ["ngrok:online1line"],
235236
circuit_breaker: 0.1,

docs/assets/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/classes/HttpListenerBuilder.html

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/classes/LabeledListenerBuilder.html

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/classes/Listener.html

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)