-
Notifications
You must be signed in to change notification settings - Fork 10
PatchResponseInterval
Robin B edited this page Mar 13, 2020
·
1 revision
Modify the interval at which the socket server sends a counter update event to all connected clients.
Key | Value |
---|---|
Content-Type | application/x-www-form-urlencoded |
Key | Description | Format | Example |
---|---|---|---|
interval | The interval at which to send a websocket update milliseconds | Integer | 1000 |
Set -1
as value for interval
to disable the response interval and immediately send responses for all events.
Otherwise, interval
must be any integer above 0.
Key | Description | Format | Example |
---|---|---|---|
--- | ----------- | ------ | ------- |
/admin/config/responseinterval
with:
- interval
1000
Output:
{
"code": 200,
"message": "Response interval successfully updated",
"limit": 15
}