summaryrefslogtreecommitdiff
path: root/src/web_service/telemetry_json.cpp
AgeCommit message (Collapse)Author
2018-10-10web_backend: Make Client use the PImpl idiomLioncash
Like with TelemetryJson, we can make the implementation details private and avoid the need to expose httplib to external libraries that need to use the Client class.
2018-10-10telemetry_json: Use the PImpl idiom to avoid unnecessary dependency exposureLioncash
Users of the web_service library shouldn't need to care about an external library like json.h. However, given it's exposed in our interface, this requires that other libraries publicly link in the JSON library. We can do better. By using the PImpl idiom, we can hide this dependency in the cpp file and remove the need to link that library in altogether.
2018-10-10telemetry_json: Take std::string parameters by valueLioncash
Taking them by const reference isn't advisable here, because it means the std::move calls were doing nothing and we were always copying the std::string instances.
2018-10-10telemetry_json: Remove unnecessary includesLioncash
Removes unused includes. Also rectifies a missing <chrono> include.
2018-10-02Address a bunch of review commentsfearlessTobi
2018-10-02Port web_service from CitrafearlessTobi
2018-01-12Massive removal of unused modulesJames Rowe
2017-08-25web_services: Refactor to remove dependency on Core.bunnei
2017-07-11telemetry_session: Use TelemetryJson to submit real telemetry.bunnei
2017-07-11web_service: Implement JSON serialization of telemetry data.bunnei
2017-07-10web_service: Add skeleton project.bunnei