Module tunnel

Source
Expand description

Types for working with ngrok tunnels.

Structs§

HttpTunnel
An ngrok tunnel for an HTTP endpoint.
LabeledTunnel
A labeled ngrok tunnel.
TcpTunnel
An ngrok tunnel for a TCP endpoint.
TlsTunnel
An ngrok tunnel for a TLS endpoint.

Enums§

AcceptError
Errors arising when accepting a [Conn] from an ngrok tunnel.

Traits§

EdgeInfo
An ngrok tunnel backing an edge. Since labels may be dynamically defined via the dashboard or API, the url and protocol for the tunnel is not knowable ahead of time.
EndpointInfo
An ngrok tunnel backing a simple endpoint. Most agent-configured tunnels fall into this category, with the exception of labeled tunnels.
Tunnel
An ngrok tunnel.
TunnelCloser
An ngrok tunnel closer.
TunnelInfo
Information associated with an ngrok tunnel.