LCOV - code coverage report
Current view: top level - datadog - default_http_client_curl.cpp (source / functions) Hit Total Coverage
Test: filtered.info Lines: 2 2 100.0 %
Date: 2024-01-03 20:30:12 Functions: 1 1 100.0 %

          Line data    Source code
       1             : #include "curl.h"
       2             : #include "default_http_client.h"
       3             : 
       4             : // This file is included in the build when libcurl is included in the build.
       5             : // It provides an implementation of `default_http_client` that returns a
       6             : // `Curl` instance.
       7             : //
       8             : // If libcurl is not included in the build, then `default_http_client_null.cpp`
       9             : // will be built instead.
      10             : 
      11             : namespace datadog {
      12             : namespace tracing {
      13             : 
      14         208 : std::shared_ptr<HTTPClient> default_http_client(
      15             :     const std::shared_ptr<Logger>& logger, const Clock& clock) {
      16         208 :   return std::make_shared<Curl>(logger, clock);
      17             : }
      18             : 
      19             : }  // namespace tracing
      20             : }  // namespace datadog

Generated by: LCOV version 1.16