wotpy.protocols.coap.resources.action
CoAP resources to deal with Action interactions.
Functions
|
Takes a CoAP request and returns the Thing Action identified by the request arguments. |
Classes
|
CoAP resource to invoke Actions and observe those invocations. |
- class wotpy.protocols.coap.resources.action.ActionResource(server)
Bases:
ObservableResourceCoAP resource to invoke Actions and observe those invocations.
- async render_post(request)
Handler for action invocations.
- async wotpy.protocols.coap.resources.action.get_thing_action(server, request)
Takes a CoAP request and returns the Thing Action identified by the request arguments.