Пример #1
0
 public Client(HttpClient httpClient)
 {
     _httpClient     = httpClient;
     Topics          = new TopicsClient(httpClient);
     ServiceAccounts = new ServiceAccountsClient(httpClient);
     ApiKeys         = new ApiKeysClient(httpClient);
     Acls            = new AclsClient(httpClient);
 }
Пример #2
0
 public Client(HttpClient httpClient, ClientOptions clientOptions)
 {
     _httpClient     = httpClient;
     Topics          = new TopicsClient(httpClient, clientOptions);
     ServiceAccounts = new ServiceAccountsClient(httpClient, clientOptions);
     ApiKeys         = new ApiKeysClient(httpClient, clientOptions);
     Acls            = new AclsClient(httpClient, clientOptions);
 }