crossbar.webservice.rest¶
Classes¶
HTTP/REST-to-WAMP Caller Web service (part of REST-bridge). |
|
HTTP/REST-to-WAMP Publisher Web service (part of REST-bridge). |
|
HTTP/POST Webhook service (part of REST-bridge). |
Module Contents¶
- class RouterWebServiceRestCaller(transport, path, config=None, resource=None)[source]¶
Bases:
crossbar.webservice.base.RouterWebServiceHTTP/REST-to-WAMP Caller Web service (part of REST-bridge).
- static create(transport, path: str, config: Dict[str, Any])[source]¶
Create a new HTTP/REST-to-WAMP Caller Web service (part of REST-bridge).
- Parameters:
transport – Web transport on which to add the web service.
path – HTTP path on which to add the web service.
config – Web service configuration.
- Returns:
Web service instance.
- class RouterWebServiceRestPublisher(transport, path, config=None, resource=None)[source]¶
Bases:
crossbar.webservice.base.RouterWebServiceHTTP/REST-to-WAMP Publisher Web service (part of REST-bridge).
- static create(transport, path: str, config: Dict[str, Any])[source]¶
Create a new HTTP/REST-to-WAMP Publisher Web service (part of REST-bridge).
- Parameters:
transport – Web transport on which to add the web service.
path – HTTP path on which to add the web service.
config – Web service configuration.
- Returns:
Web service instance.
- class RouterWebServiceWebhook(transport, path, config=None, resource=None)[source]¶
Bases:
crossbar.webservice.base.RouterWebServiceHTTP/POST Webhook service (part of REST-bridge).
- static create(transport, path: str, config: Dict[str, Any])[source]¶
Create a new HTTP/POST Webhook service (part of REST-bridge).
- Parameters:
transport – Web transport on which to add the web service.
path – HTTP path on which to add the web service.
config – Web service configuration.
- Returns:
Web service instance.