Skip to content

uni-flow 公开 API(中文注解)


uni-flow 公开 API(中文注解) / HttpUsesBinding

Type Alias: HttpUsesBinding

HttpUsesBinding = object

Defined in: yaml/bindings.ts:8

将非内建 uses 名绑定到远程 HTTP Unit 端点(供 Orchestrator / createEngineFromYamlbindings)。

Properties

endpoint

endpoint: string

Defined in: yaml/bindings.ts:12

远程 POST /execute 风格 URL。


headers?

optional headers?: Record<string, string>

Defined in: yaml/bindings.ts:14

可选请求头(如鉴权)。


type

type: "http"

Defined in: yaml/bindings.ts:10

固定为 'http'

MIT Licensed