Skip to content

Commit

Permalink
Update docs/api/wait_strategies.md
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Wittek <kiview@users.noreply.github.com>
  • Loading branch information
HofmeisterAn and kiview authored Dec 21, 2022
1 parent 2a77dc2 commit b8ae06a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/api/wait_strategies.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ _ = Wait.ForUnixContainer()

## Wait until an HTTP(S) endpoint is available

You can choose to wait for an HTTP(S) endpoint to return a particular HTTP response status code or to match a predicate. The default configuration tries to access the HTTP endpoint running inside the container. Chose `ForPort(ushort)` or `ForPath(string)` to adjust the endpoint or `UsingTls()` to switch to HTTPS.
You can choose to wait for an HTTP(S) endpoint to return a particular HTTP response status code or to match a predicate.
The default configuration tries to access the HTTP endpoint running inside the container. Chose `ForPort(ushort)` or `ForPath(string)` to adjust the endpoint or `UsingTls()` to switch to HTTPS.
When using `UsingTls()` port 443 is used as a default.
If your container exposes a different HTTPS port, make sure that the correct waiting port is configured accordingly.

### Waiting for HTTP response status code _200 OK_

Expand Down

0 comments on commit b8ae06a

Please sign in to comment.