This is a pretty simple PR, but it was hurting my eyes seeing that much replication and weird variable naming with respect to the internal API.
In a nutshell, this simply makes http::serve take grpc_bind as SocketAddr instead of String, so we can get rid of a useless variable and rename things more accordingly.
This is a pretty simple PR, but it was hurting my eyes seeing that much replication and weird variable naming with respect to the internal API.
In a nutshell, this simply makes
http::serve
takegrpc_bind
asSocketAddr
instead ofString
, so we can get rid of a useless variable and rename things more accordingly.