A minimal ngrok wrapper. Only tested on Linux, assuming it does not work with Windows (contributions welcome!).
toml
[dependencies]
ngrok = "0.1.2"
```rust use ngrok;
fn main() { let ngrok = ngrok::builder() .http() .port(3030) .run() .unwrap();
let callback = ngrok.tunnel().http().unwrap();
println!("Tunnel is open at {:?}", callback);
} ```
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Ent by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.