NVIDIA DeepStream SDK API Reference

9.2 Release
includes/opentelemetry/ext/http/client/http_client_factory.h
Go to the documentation of this file.
1 // Copyright The OpenTelemetry Authors
2 // SPDX-License-Identifier: Apache-2.0
3 
4 #pragma once
5 
6 #include "opentelemetry/ext/http/client/http_client.h"
7 #include "opentelemetry/sdk/common/thread_instrumentation.h"
8 #include "opentelemetry/version.h"
9 
11 namespace ext
12 {
13 namespace http
14 {
15 namespace client
16 {
18 {
19 public:
20  static std::shared_ptr<HttpClientSync> CreateSync();
21 
22  static std::shared_ptr<HttpClient> Create();
23  static std::shared_ptr<HttpClient> Create(
24  const std::shared_ptr<sdk::common::ThreadInstrumentation> &thread_instrumentation);
25 };
26 } // namespace client
27 } // namespace http
28 } // namespace ext
ext
Definition: includes/opentelemetry/ext/http/client/http_client.h:63
ext::http::client::HttpClientFactory::CreateSync
static std::shared_ptr< HttpClientSync > CreateSync()
ext::http::client::HttpClientFactory::Create
static std::shared_ptr< HttpClient > Create()
OPENTELEMETRY_BEGIN_NAMESPACE
#define OPENTELEMETRY_BEGIN_NAMESPACE
Definition: includes/opentelemetry/version.h:21
ext::http::client::HttpClientFactory
Definition: includes/opentelemetry/ext/http/client/http_client_factory.h:17
OPENTELEMETRY_END_NAMESPACE
#define OPENTELEMETRY_END_NAMESPACE
Definition: includes/opentelemetry/version.h:24