Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ngrok/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ url = "2.5.4"
```rust
#![deny(warnings)]
use axum::{routing::get, Router};
use ngrok::config::ForwarderBuilder;
use ngrok::config::{ForwarderBuilder, TunnelBuilder};
use std::net::SocketAddr;
use url::Url;

Expand Down
1 change: 1 addition & 0 deletions ngrok/src/config/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ impl HttpTunnelBuilder {
///
/// ```no_run
/// # use ngrok::Session;
/// # use ngrok::config::TunnelBuilder;
/// # async fn example() -> Result<(), Box<dyn std::error::Error>> {
/// let session = Session::builder().authtoken_from_env().connect().await?;
///
Expand Down
1 change: 1 addition & 0 deletions ngrok/src/config/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ impl TcpTunnelBuilder {
///
/// ```no_run
/// # use ngrok::Session;
/// # use ngrok::config::TunnelBuilder;
/// # async fn example() -> Result<(), Box<dyn std::error::Error>> {
/// let session = Session::builder().authtoken_from_env().connect().await?;
///
Expand Down
1 change: 1 addition & 0 deletions ngrok/src/config/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ impl TlsTunnelBuilder {
///
/// ```no_run
/// # use ngrok::Session;
/// # use ngrok::config::TunnelBuilder;
/// # async fn example() -> Result<(), Box<dyn std::error::Error>> {
/// let session = Session::builder().authtoken_from_env().connect().await?;
///
Expand Down
Loading