using MxGateway.Contracts;
namespace MxGateway.Client;
///
/// Exposes the protocol versions compiled into this client package.
///
public static class MxGatewayClientContractInfo
{
///
/// Gets the gateway gRPC protocol version compiled into this client package.
/// A client and gateway are wire-compatible only when this value matches the
/// gateway's advertised gateway protocol version.
///
public const uint GatewayProtocolVersion =
GatewayContractInfo.GatewayProtocolVersion;
///
/// Gets the worker frame protocol version compiled into this client package.
/// Exposed for diagnostics so callers can report the worker protocol the
/// shared contracts were generated against.
///
public const uint WorkerProtocolVersion =
GatewayContractInfo.WorkerProtocolVersion;
}