MCPcopy Create free account
hub / github.com/langgenius/dify / constructor

Method constructor

cli/src/api/app-run.ts:44–50  ·  view source on GitHub ↗
(http: HttpClient)

Source from the content-addressed store, hash-verified

42 private readonly orpc: OpenApiClient
43
44 constructor(http: HttpClient) {
45 this.http = http
46 // Mixed class (SPEC §4.4): runStream / reconnectStream are SSE and stay on the raw
47 // `http.stream` facade; stopTask / submitHumanInput are plain JSON and go through the
48 // generated oRPC contract. Both facades share this one transport.
49 this.orpc = createOpenApiClient(http)
50 }
51
52 async runStream(
53 appId: string,

Callers

nothing calls this directly

Calls 1

createOpenApiClientFunction · 0.90

Tested by

no test coverage detected