Example #1
0
    public KSqlDbRestApiClient(IHttpClientFactory httpClientFactory, ILoggerFactory loggerFactory = null)
    {
        this.httpClientFactory = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory));

        if (loggerFactory != null)
        {
            logger = loggerFactory.CreateLogger(LoggingCategory.Name);
        }
    }
 public KSqlDbRestApiProvider(IHttpClientFactory httpClientFactory, ILoggerFactory?loggerFactory = null)
     : base(httpClientFactory, loggerFactory)
 {
 }