wotpy.protocols.http.handlers.action

Request handler for Action interactions.

Classes

ActionInvokeHandler(application, request, ...)

Handler for Action invocation requests.

class wotpy.protocols.http.handlers.action.ActionInvokeHandler(application: Application, request: HTTPServerRequest, **kwargs: Any)

Bases: RequestHandler

Handler for Action invocation requests.

initialize(http_server)
async post(thing_name, name)

Invokes the action and returns the invocation result.