aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/webhooks.py
Commit message (Collapse)AuthorAgeFilesLines
* webhooks: fix lambda wrapper around _process_requestArksine2020-07-131-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* webooks: do not connect if debuginput is enabledArksine2020-07-061-3/+3
| | | | | | Changing this check from debugoutput to debuginput allows remote applications to perform tests against Klippy without an MCU connected. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* webhooks: process request handlers using a Reactor CallbackArksine2020-07-061-17/+7
| | | | | | This prevents _process_data from blocking and becoming reentrant. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* klippy: return message category in get_state_message()Arksine2020-06-241-5/+3
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* webhooks: protect command processing from re-entryArksine2020-06-241-4/+16
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* webhooks: Initial implementationArksine2020-06-241-0/+270
The webhooks module provides a means for Klippy to register remote API endpoints. Signed-off-by: Eric Callahan <arksine.code@gmail.com>