]>
git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/ext/src/http/client/curl/http_client_factory_curl.cc
1 // Copyright The OpenTelemetry Authors
2 // SPDX-License-Identifier: Apache-2.0
4 #include "opentelemetry/ext/http/client/curl/http_client_curl.h"
5 #include "opentelemetry/ext/http/client/http_client.h"
6 #include "opentelemetry/ext/http/client/http_client_factory.h"
8 namespace http_client
= opentelemetry::ext::http::client
;
10 std::shared_ptr
<http_client::HttpClient
> http_client::HttpClientFactory::Create()
12 return std::make_shared
<http_client::curl::HttpClient
>();
15 std::shared_ptr
<http_client::HttpClientSync
> http_client::HttpClientFactory::CreateSync()
17 return std::make_shared
<http_client::curl::HttpClientSync
>();