internal bool TryGetNotificationHandler(string method, out NotificationHandler notificationHandler) { return(notificationHandlers.TryGetValue(method, out notificationHandler)); }
internal void AddNotificationHandler(NotificationHandler notificationHandler) { notificationHandlers[notificationHandler.RpcMethod] = notificationHandler; }