# http_wait

Wait for an HTTP endpoint to become available with retries.

```rhai
http_wait(url: &str, timeout_seconds: i64) -> ()
```

## Examples

```rhai
// Wait up to 30 seconds for service
http_wait("https://api.example.com/health", 30)?;
print("Service is ready");
```

```rhai
// Start service and wait for it
run("docker-compose up -d");
http_wait("http://localhost:8080/ready", 60)?;
print("Container is ready");
```
