Trait ngrok::prelude::EndpointInfo

source ·
pub trait EndpointInfo {
    // Required methods
    fn url(&self) -> &str;
    fn proto(&self) -> &str;
}
Expand description

An ngrok tunnel backing a simple endpoint. Most agent-configured tunnels fall into this category, with the exception of labeled tunnels.

Required Methods§

source

fn url(&self) -> &str

Returns the tunnel endpoint’s URL.

source

fn proto(&self) -> &str

Returns the protocol of the tunnel’s endpoint.

Implementors§