It is useful to have access to connection attributes, for example, suppose you want to monitor the Pid of the connection, in that case we need to access the http_connection attribute.
Now, if the purpose is encapsulate it, other option would be provide getters functions within the grpc_cl_connection module, like:
It is useful to have access to connection attributes, for example, suppose you want to monitor the
Pid
of the connection, in that case we need to access thehttp_connection
attribute.Now, if the purpose is encapsulate it, other option would be provide getters functions within the
grpc_cl_connection
module, like: