gRPC
GrpcConfig
Proto:protos/proto/vx/transport/protocols/grpc/config.proto
设置在 TransportConfig.grpc。
GrpcConfig
authoritystring
:authority 伪头
serviceNamestring
gRPC 服务名
multiModebool
多流模式
idleTimeoutint32
空闲超时(秒)
healthCheckTimeoutint32
健康检查超时
permitWithoutStreambool
无活跃流时允许 ping
initialWindowsSizeint32
初始窗口大小
userAgentstring
User-Agent 覆盖
{
"transport": {
"grpc": {
"serviceName": "GunService",
"multiMode": true
},
"tls": { "serverName": "example.com" }
}
}