MCPcopy
hub / github.com/FlowiseAI/Flowise / addExternalClient

Method addExternalClient

packages/server/src/utils/SSEStreamer.ts:53–55  ·  view source on GitHub ↗
(chatId: string, res: Response)

Source from the content-addressed store, hash-verified

51 }
52
53 addExternalClient(chatId: string, res: Response) {
54 this.clients.set(chatId, { clientType: 'EXTERNAL', response: res, started: false })
55 }
56
57 addClient(chatId: string, res: Response) {
58 this.clients.set(chatId, { clientType: 'INTERNAL', response: res, started: false })

Callers 2

createPredictionFunction · 0.80
createWebhookFunction · 0.80

Calls 1

setMethod · 0.80

Tested by

no test coverage detected