zentao-api / GetZentaoConfigOptions
Interface: GetZentaoConfigOptions
ZentaoClient.getZentaoConfig 的选项。
Extends
Pick<ClientRequestOptions,"timeout"|"insecure"|"signal">
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
forceRefresh? | boolean | 忽略已有缓存并重新获取配置,默认 false;同一客户端的并发获取会合并。 | - |
insecure? | boolean | 单次请求 TLS 跳过证书验证选项;仅 Node.js 运行时支持。 | ClientRequestOptions.insecure |
signal? | AbortSignal | 外部取消信号;会与 SDK 自身的超时控制合并。 | ClientRequestOptions.signal |
timeout? | number | 单次请求超时时间,优先级高于全局和客户端默认值。 | ClientRequestOptions.timeout |