Merge "ref/runtime/internal/flow/conn: Fix the counter based flow control to send less often, and not block streams."
diff --git a/runtime/internal/flow/conn/conn.go b/runtime/internal/flow/conn/conn.go
index 1a6beb6..0b6f0ea 100644
--- a/runtime/internal/flow/conn/conn.go
+++ b/runtime/internal/flow/conn/conn.go
@@ -159,6 +159,9 @@
// RemoteEndpoint returns the remote vanadium Endpoint
func (c *Conn) RemoteEndpoint() naming.Endpoint { return c.remote }
+// CommonVersion returns the RPCVersion negotiated between the local and remote endpoints.
+func (c *Conn) CommonVersion() version.RPCVersion { return c.version }
+
// LastUsedTime returns the time at which the Conn had bytes read or written on it.
func (c *Conn) LastUsedTime() time.Time {
defer c.mu.Unlock()