Update README.md
This commit is contained in:
@@ -102,6 +102,14 @@ By default the verification calls block for up to 10 seconds, the timeout in sec
|
|||||||
stbbr_set_timeout(3);
|
stbbr_set_timeout(3);
|
||||||
```
|
```
|
||||||
A value of 0 or less is non-blocking and will return immediately.
|
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
|
# Logs
|
||||||
Stabber logs to:
|
Stabber logs to:
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user