19 lines
455 B
C#
Raw Normal View History

2019-06-12 21:56:55 +02:00
namespace Capnp.Rpc
{
/// <summary>
/// A uni-directional endpoint, used in conjunction with the <see cref="RpcEngine"/>.
/// </summary>
public interface IEndpoint
{
/// <summary>
/// Transmit the given Cap'n Proto message over this endpoint.
/// </summary>
void Forward(WireFrame frame);
/// <summary>
/// Close this endpoint.
/// </summary>
void Dismiss();
}
}