public void Intercept(IInvocation invocation) { WampMessage <object> message = invocation.Arguments[0] as WampMessage <object>; var typed = mBinding.Formatter.SerializeMessage(message); mPlayer.Response(typed); mRecorder.Record(typed); }
private void Record(IInvocation invocation) { WampMessage <object> serialized = SerializeRequest(invocation); mRecorder.Record(mBinding.Formatter.SerializeMessage(serialized)); }