Merge "runtime/internal/flow: Expose Common version from *Conn."
diff --git a/runtime/internal/flow/conn/conn.go b/runtime/internal/flow/conn/conn.go
index d463ef2..0a5b85d 100644
--- a/runtime/internal/flow/conn/conn.go
+++ b/runtime/internal/flow/conn/conn.go
@@ -153,6 +153,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()