build: add response time header
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
1. 所有响应都会回写 `x-request-id`。
|
||||
2. 所有响应都会回写固定的 `x-api-version`,当前值与 body `meta.apiVersion` 保持一致。
|
||||
3. 所有响应都会回写 `x-route-version`,当前阶段默认与 `x-api-version` 保持一致,后续再按路由粒度细分。
|
||||
4. `x-response-time-ms` 仍留在后续独立任务中补齐。
|
||||
4. 所有响应都会回写 `x-response-time-ms`,值来源于 `RequestContext` 内记录的请求开始时间。
|
||||
|
||||
## 3. 边界约束
|
||||
|
||||
|
||||
Reference in New Issue
Block a user