Skip to content

Commit

Permalink
remove http example from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
PanGan21 committed May 12, 2024
1 parent f4f92aa commit 5361e24
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ wait-for-rs = { git = "https://github.com/PanGan21/wait-for-rs.git", branch = "m
To start the server:

```bash
# Wait for a URL to become available
wait-for-rs http://example.com --timeout 30

# Wait for a TCP socket to become available
wait-for-rs 127.0.0.1:8080 --timeout 60
```
Expand All @@ -47,7 +44,7 @@ use wait_for_rs::{WaitService, Result};

fn main() -> Result<()> {
// Create a WaitService instance and wait for services
let wait_service = WaitService::new(vec!["http://example.com".to_string()], 30)?;
let wait_service = WaitService::new(vec!["google.com:443".to_string()], 30)?;
wait_service.wait_for_services()?;
Ok(())
}
Expand Down

0 comments on commit 5361e24

Please sign in to comment.