Expand description
Easily download and run an ngrok binary.
§Examples
use lib_ngrok::download;
async fn download() -> Result<(), anyhow::Error> {
let ngrok_path = &Path::new("ngrok");
download::bin(ngrok_path).await?;
}
Modules§
Enums§
- RunError
- Errors that can occur when running an ngrok binary.
Functions§
- run
- Runs an ngrok binary with an authentication token.