MCPcopy Create free account
hub / github.com/PDAL/PDAL / getUserAgent

Function getUserAgent

io/private/connector/Connector.cpp:47–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45{
46
47std::string getUserAgent()
48{
49 std::stringstream output;
50
51 output << "pdal ("
52 << pdal::Config::versionMajor() << "."
53 << pdal::Config::versionMinor() << "."
54 << pdal::Config::versionPatch() << ") "
55 << " / curl (" << std::string (curl_version()) << ")";
56 return output.str();
57}
58
59Connector::Connector()
60 : m_arbiter(new arbiter::Arbiter()),

Callers 1

ConnectorMethod · 0.85

Calls 4

versionMajorFunction · 0.85
versionMinorFunction · 0.85
versionPatchFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected