crossbar.webservice.catalog

Classes

RouterWebServiceCatalog

WAMP API FbsRepository Web service.

Module Contents

class RouterWebServiceCatalog(transport, path, config=None, resource=None)[source]

Bases: crossbar.webservice.base.RouterWebService

WAMP API FbsRepository Web service.

static check(personality, config: Dict[str, Any])[source]

Checks the configuration item. When errors are found, an crossbar.common.checkconfig.InvalidConfigException is raised.

Parameters:
  • personality – The node personality class.

  • config – The Web service configuration item.

static create(transport, path: str, config: Dict[str, Any]) RouterWebServiceCatalog[source]

Create a new FbsRepository Web service using a FbsRepository archive file or on-chain address.

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.