snowplow / snowplow-cpp-tracker

Snowplow event tracker for C++. Add analytics to your C++ applications, games and servers
http://snowplowanalytics.com
Apache License 2.0
9 stars 6 forks source link

Add support for Linux in HTTP client (close #5) #49

Closed matus-tomlein closed 2 years ago

matus-tomlein commented 2 years ago

This PR refactors the HTTP clients and adds an implementation for Linux using Curl (issue #5). There are the following changes:

So far, we don't have integration tests in the tracker, so I didn't add any tests for the new Curl client. It can be tested using the example app by running ./build/example/tracker_example 127.0.0.1:9090 after make. I want to add integration tests using Micro and CI on Linux in other issues so that this PR doesn't get too bloated.

I also made a PR with some small docs updates on data-value-resources.

matus-tomlein commented 2 years ago

Thanks @AlexBenny! The Linux support is not yet complete, there still remain some other places to add support (desktop context, CI). I will update the documentation at once in issue #50