[][src]Function ngrok::builder

pub fn builder() -> Builder

The entry point for starting a ngrok tunnel. Only HTTP is currently supported.

Example

ngrok::builder()
        .executable("./ngrok")
        .http()
        .port(3031)
        .run()
        .unwrap();