using System; namespace Capnp.FrameTracing { /// /// Send or receive /// public enum FrameDirection { /// /// Receive direction /// Rx, /// /// Send direction /// Tx } /// /// Client interface for observing RPC traffic /// public interface IFrameTracer: IDisposable { /// /// Called whenever an RPC frame was sent or received /// /// frame direction /// actual frame void TraceFrame(FrameDirection direction, WireFrame frame); } }