this._handleRequest(client, msg.method, msg.params, msg.id);
} else if (isJsonRpcNotification(msg)) {
this._logService.trace(`[ProtocolServer] notification: method=${msg.method}`);
protocolServerHandler.ts
// Notification — fire-and-forget
switch (msg.method) {
case 'unsubscribe':
if (client) {
this._removeSubscription(client, msg.params.channel);
}
break;
if (client) {
this._logService.trace(`[ProtocolServer] dispatchAction: ${JSON.stringify(msg.params.action.type)}`);