connection.on function. My base class has inherits and they all may be sent to the client.connection.on<T> method.T type, ignoring T's dervied types.Foo class in wrapper class Bar and passing it to the method:Baz: Foo type in Bar and pass it to client, it will recieve Bar with foo field having Baz type.connection.on<T> convert incoming data not just to T, but to it's derivative too without using wrapper classes?