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

Download URLs for ngrok per-architecture

Enums

Errors that can occur when running an ngrok binary.

Functions

Runs an ngrok binary with an authentication token.