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

Method constructor

cli/src/api/meta.ts:15–17  ·  view source on GitHub ↗
(http: HttpClient)

Source from the content-addressed store, hash-verified

13 private readonly orpc: OpenApiClient
14
15 constructor(http: HttpClient) {
16 this.orpc = createOpenApiClient(http)
17 }
18
19 async serverVersion(): Promise<ServerVersionResponse> {
20 return this.orpc.version.get()

Callers

nothing calls this directly

Calls 1

createOpenApiClientFunction · 0.90

Tested by

no test coverage detected