ChannelServiceRoutes class
Routes the API calls with the ChannelServiceHandler methods.
register(Web |
Registers all Channel Service paths on the provided WebServer. |
new ChannelServiceRoutes(channelServiceHandler: ChannelServiceHandlerBase)
Parameters
- channelServiceHandler
- ChannelServiceHandlerBase
The channel service handler.
Registers all Channel Service paths on the provided WebServer.
function register(server: WebServer, basePath?: string)
Parameters
- server
- WebServer
WebServer
- basePath
-
string
Optional basePath which is appended before the service's REST API is configured on the WebServer.