Provide rest control handler behavior.
More...
|
| None | log_message (self, str format, *object args) |
| | Avoid noisy per-request console output.
|
| None | do_GET (self) |
| | Handle an HTTP GET request.
|
| None | do_PATCH (self) |
| | Handle an HTTP PATCH request.
|
| None | do_DELETE (self) |
| | Handle an HTTP DELETE request.
|
| None | do_POST (self) |
| | Handle an HTTP POST request.
|
Provide rest control handler behavior.
◆ _radio_mutation()
| None sdrforge.protocols.rest.server.RestControlHandler._radio_mutation |
( |
| self, |
|
|
str | method ) |
|
protected |
◆ _read_json()
| dict[str, Any] sdrforge.protocols.rest.server.RestControlHandler._read_json |
( |
| self | ) |
|
|
protected |
◆ _respond()
| None sdrforge.protocols.rest.server.RestControlHandler._respond |
( |
| self, |
|
|
int | status, |
|
|
dict[str, Any] | payload ) |
|
protected |
◆ do_DELETE()
| None sdrforge.protocols.rest.server.RestControlHandler.do_DELETE |
( |
| self | ) |
|
Handle an HTTP DELETE request.
- Parameters
-
| self | The current instance. |
◆ do_GET()
| None sdrforge.protocols.rest.server.RestControlHandler.do_GET |
( |
| self | ) |
|
Handle an HTTP GET request.
- Parameters
-
| self | The current instance. |
◆ do_PATCH()
| None sdrforge.protocols.rest.server.RestControlHandler.do_PATCH |
( |
| self | ) |
|
Handle an HTTP PATCH request.
- Parameters
-
| self | The current instance. |
◆ do_POST()
| None sdrforge.protocols.rest.server.RestControlHandler.do_POST |
( |
| self | ) |
|
Handle an HTTP POST request.
- Parameters
-
| self | The current instance. |
◆ log_message()
| None sdrforge.protocols.rest.server.RestControlHandler.log_message |
( |
| self, |
|
|
str | format, |
|
|
*object | args ) |
Avoid noisy per-request console output.
- Parameters
-
| self | The current instance. |
| format | The format value. |
| args | The args value. |
◆ path
| str sdrforge.protocols.rest.server.RestControlHandler.path = "/v1/health": |
The documentation for this class was generated from the following file: