Update README.md

This commit is contained in:
James Booth
2015-06-01 00:02:17 +01:00
parent 9661835f10
commit 4b731d65c4

View File

@@ -102,6 +102,14 @@ By default the verification calls block for up to 10 seconds, the timeout in sec
stbbr_set_timeout(3);
```
A value of 0 or less is non-blocking and will return immediately.
### Waiting
Sometimes a test needs to wait until the client being tested has had time to send some specific stanzas. The following will block until a stanza with a particular ID has been received by Stabber:
```c
stbbr_wait_for("someid");
```
# Logs
Stabber logs to:
```