stream output might break. in these cases we need to notify the
client. this is after a 200 response has been sent. We do this
by setting a special trailer (header after the body):
X-Stream-Error: <error cause>
This is similar to what's done by systems like gRPC. This still
needs to be read + handled on the other side.
License: MIT
Signed-off-by:
Juan Batiz-Benet <juan@benet.ai>
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| cli | 正在载入提交数据... | |
| files | 正在载入提交数据... | |
| http | 正在载入提交数据... | |
| argument.go | 正在载入提交数据... | |
| channelmarshaler.go | 正在载入提交数据... | |
| command.go | 正在载入提交数据... | |
| command_test.go | 正在载入提交数据... | |
| option.go | 正在载入提交数据... | |
| option_test.go | 正在载入提交数据... | |
| request.go | 正在载入提交数据... | |
| response.go | 正在载入提交数据... | |
| response_test.go | 正在载入提交数据... |