using System; using System.Security.Cryptography; using Grpc.Net.Client; using Microsoft.Extensions.Logging; namespace FrostFS.SDK.ClientV2; // wrapperPrm is params to create clientWrapper. [System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1815:Override equals and operator equals on value types", Justification = "")] public struct WrapperPrm { internal ILogger? Logger { get; set; } internal string Address { get; set; } internal ECDsa? Key { get; set; } internal ulong DialTimeout { get; set; } internal ulong StreamTimeout { get; set; } internal uint ErrorThreshold { get; set; } internal Action ResponseInfoCallback { get; set; } internal Action PoolRequestInfoCallback { get; set; } internal GrpcChannelOptions GrpcChannelOptions { get; set; } internal ulong GracefulCloseOnSwitchTimeout { get; set; } }