using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; namespace ReC.Client.Api { /// /// Provides access to endpoint definitions. /// public class EndpointsApi : BaseCrudApi { /// /// Initializes a new instance of the class. /// /// The HTTP client used for requests. /// An optional logger used to record API call outcomes. /// An optional set of client options. Defaults are used when omitted. #if NETFRAMEWORK public EndpointsApi(HttpClient http, ILogger logger = null, ReCClientOptions options = null) : base(http, "api/Endpoints", logger, options) #else public EndpointsApi(HttpClient http, ILogger? logger = null, ReCClientOptions? options = null) : base(http, "api/Endpoints", logger, options) #endif { } } }