Function: RegisterService

Registers functions and notifications that can be used immediately afterwards by a consumer.

Syntax

{
	"method": "basic.RegisterService",
	"params": {
		"functions": "...",
		"notifications": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<bool> RegisterService( std::optional<std::vector<AdvString>> functions = std::nullopt
	 std::optional<std::vector<AdvString>> notifications = std::nullopt );
public Task<bool> RegisterServiceAsync(IList<string>? functions = null,
		IList<string>? notifications = null,
		CancellationToken ct = default);
registerService(functions?: string[] | undefined, notifications?: string[] | undefined): Promise<boolean>;

Parameters

functions : string[] optional

List of provided functions.

notifications : string[] optional

List of provided notifications.

Result : bool

True if successful.