(method: string, connection: RuntimeConnection)
| 481 | } |
| 482 | |
| 483 | private canInvoke(method: string, connection: RuntimeConnection): boolean { |
| 484 | if (!connection.permissions || connection.permissions.length === 0) return true |
| 485 | return connection.permissions.some((permission) => this.matchesPattern(method, permission)) |
| 486 | } |
| 487 | |
| 488 | private updateSubscription(params: RuntimeSubscriptionUpdateParams, context: RuntimeHandlerContext): { ok: true } { |
| 489 | const entry = this.connections.get(context.connection.id) |
no test coverage detected