Christian Köllner 4f0abaac73 flush optimization
2020-04-22 22:19:16 +02:00

20 lines
477 B
C#

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);
void Flush();
/// <summary>
/// Close this endpoint.
/// </summary>
void Dismiss();
}
}