The Uri.Authority would be:
Authority = Host Name + Port No
And if URL protocol is using a default port, say port 80 for http URL, then only in that case Authority = Host Name (Port No is assumed to be 80),
Whereas Host Name is either Domain Name or I.P Address.
So, When I used the "grpc lib" to build my micro-services in a service mesh framework (Linkerd e.g.), Linked will assumed the target service's port as default 80.
The Uri.Authority would be: Authority = Host Name + Port No
And if URL protocol is using a default port, say port 80 for http URL, then only in that case Authority = Host Name (Port No is assumed to be 80),
Whereas Host Name is either Domain Name or I.P Address.
So, When I used the "grpc lib" to build my micro-services in a service mesh framework (Linkerd e.g.), Linked will assumed the target service's port as default 80.
But I want to send the
request
to another port.I hack the code and compare it with other grpc implement, and found grpc-rust only set
host
toAuthority
.Is possible to add
port info
to "Uri.Authority"? So the Authority will be: