`@WebSocketGateway({ namespace: 'chat' })` | `@WebSocketGateway(81, { namespace: '/chat' })` | `@WebSocketGateway()`.
(args: string)
| 698 | |
| 699 | /** `@WebSocketGateway({ namespace: 'chat' })` | `@WebSocketGateway(81, { namespace: '/chat' })` | `@WebSocketGateway()`. */ |
| 700 | function parseGatewayNamespace(args: string): string { |
| 701 | const m = args.match(/namespace\s*:\s*['"`]([^'"`]*)['"`]/); |
| 702 | return m ? m[1]! : ''; |
| 703 | } |
| 704 | |
| 705 | /** |
| 706 | * GraphQL operation name. Prefers an explicit `{ name: 'x' }` or a leading |
nothing calls this directly
no outgoing calls
no test coverage detected