Düzenle

Aracılığıyla paylaş


ChannelServiceRoutes class

Routes the API calls with the ChannelServiceHandler methods.

Constructors

ChannelServiceRoutes(ChannelServiceHandlerBase)

Methods

register(WebServer, string)

Registers all Channel Service paths on the provided WebServer.

Constructor Details

ChannelServiceRoutes(ChannelServiceHandlerBase)

new ChannelServiceRoutes(channelServiceHandler: ChannelServiceHandlerBase)

Parameters

channelServiceHandler
ChannelServiceHandlerBase

The channel service handler.

Method Details

register(WebServer, string)

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.