@tripo3d/lens / index / SendRequest
Interface: SendRequest
Defined in: src/transport/types.ts:9
单次发送请求:已序列化的协议载荷 + 目标 + 头。Transport 拿到即发,不再加工。
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
body | string | 已序列化好的 body;Transport 不负责构造它(构造是 Serializer/L4 的职责) | src/transport/types.ts:11 |
headers | Record<string, string> | - | src/transport/types.ts:12 |
keepalive? | boolean | - | src/transport/types.ts:13 |
method | "POST" | - | src/transport/types.ts:14 |
url | string | - | src/transport/types.ts:15 |