HTTP 服务 (proto)
config.core.v3.HttpService
[config.core.v3.HttpService proto]
HTTP 服务配置。
{
"http_uri": {...},
"request_headers_to_add": []
}
- http_uri
(config.core.v3.HttpUri) 服务的 HTTP URI。例如
http_uri: uri: https://www.myserviceapi.com/v1/data cluster: www.myserviceapi.com|443
- request_headers_to_add
(repeated config.core.v3.HeaderValueOption) 指定应添加到此虚拟主机处理的每个请求的 HTTP 标头列表。