Skip to content

Commit

Permalink
Merge pull request #124 from ngrok/bob/1.1.0
Browse files Browse the repository at this point in the history
1.1.0
  • Loading branch information
bobzilladev authored Feb 28, 2024
2 parents 40e14be + 3fc5ec1 commit 61e0044
Show file tree
Hide file tree
Showing 40 changed files with 192 additions and 187 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.1.0:

- 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.

## 1.0.0:

- Add policy support to Listener builders and `ngrok.forward`
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "ngrok-javascript"
version = "1.0.0"
version = "1.1.0"

[lib]
crate-type = ["cdylib"]
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ const listener = await ngrok.forward({
proxy_proto: "", // One of: "", "1", "2"
schemes: ["HTTPS"],
labels: "edge:edghts_2G...", // Along with proto="labeled"
app_protocol: "http2",
// module configuration
basic_auth: ["ngrok:online1line"],
circuit_breaker: 0.1,
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions docs/classes/HttpListenerBuilder.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/classes/LabeledListenerBuilder.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions docs/classes/Listener.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 61e0044

Please sign in to comment.