Update README.md
This commit is contained in:
@@ -36,9 +36,11 @@ To start Stabber:
|
|||||||
```c
|
```c
|
||||||
stbbr_start(stbbr_log_t loglevel, int port, int httpport);
|
stbbr_start(stbbr_log_t loglevel, int port, int httpport);
|
||||||
```
|
```
|
||||||
`loglevel` must be one of `STBBR_LOGDEBUG`, `STBBR_LOGINFO`, `STBBR_LOGWARN`, `STBBR_LOGERROR`.
|
`loglevel` - Must be one of `STBBR_LOGDEBUG`, `STBBR_LOGINFO`, `STBBR_LOGWARN`, `STBBR_LOGERROR`.
|
||||||
`port` The port on which to run the stubbed XMPP server.
|
|
||||||
`httpport` The port on which to run the HTTP API, a value of `0` will not run the HTTP Daemon.
|
`port` - The port on which to run the stubbed XMPP server.
|
||||||
|
|
||||||
|
`httpport` - The port on which to run the HTTP API, a value of `0` will not run the HTTP daemon.
|
||||||
|
|
||||||
### Stopping
|
### Stopping
|
||||||
To stop Stabber:
|
To stop Stabber:
|
||||||
|
|||||||
Reference in New Issue
Block a user