summaryrefslogtreecommitdiffstats
path: root/src/web_service (follow)
Commit message (Collapse)AuthorAgeFilesLines
* web_service/CMakeLists: Make the CPPHTTPLIB_OPENSSL_SUPPORT constrained to the web_service library onlyLioncash2018-10-201-1/+1
| | | | | | Given we link in httplib privately, we can also make the definition enabling OpenSSL support private as well. Prevents leaking a definition into other libraries that link with this one, like the core library.
* web_backend: Make Client use the PImpl idiomLioncash2018-10-114-142/+153
| | | | | | 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.
* telemetry_json: Use the PImpl idiom to avoid unnecessary dependency exposureLioncash2018-10-112-49/+55
| | | | | | | | | | 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.
* telemetry_json: Add missing override specifier to the destructor of TelemetryJsonLioncash2018-10-111-1/+1
|
* telemetry_json: Take std::string parameters by valueLioncash2018-10-112-3/+2
| | | | | | 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.
* telemetry_json: Remove unnecessary includesLioncash2018-10-112-3/+1
| | | | Removes unused includes. Also rectifies a missing <chrono> include.
* Review comments - part 5fearlessTobi2018-10-021-2/+2
|
* Review comments -part 4fearlessTobi2018-10-021-2/+2
|
* Review comments - part 3fearlessTobi2018-10-023-20/+2
|
* web_backend: protect jwt cache with a mutexWeiyi Wang2018-10-022-1/+4
|
* Address a bunch of review commentsfearlessTobi2018-10-023-7/+11
|
* Port web_service from CitrafearlessTobi2018-10-028-0/+474
|
* Massive removal of unused modulesJames Rowe2018-01-137-392/+0
|
* WebService: Verify username and token (#2930)B3n302017-09-195-12/+159
| | | | | | | | | | * WebService: Verify username and token; Log errors in PostJson * Fixup: added docstrings to the functions * Webservice: Added Icons to the verification, imrpved error detection in cpr, fixup nits * fixup: fmt warning
* web_backend: Fix CPR bug where Winsock is not properly initializing.bunnei2017-08-271-15/+27
|
* web_backend: Fix asynchronous JSON post by spawning new thread.bunnei2017-08-261-9/+18
|
* web_services: Refactor to remove dependency on Core.bunnei2017-08-264-19/+28
|
* web_backend: User config for username and token, support anonymous post.bunnei2017-08-262-40/+17
|
* web_backend: Specify api-version on JSON post.bunnei2017-07-121-1/+3
|
* telemetry_session: Use TelemetryJson to submit real telemetry.bunnei2017-07-122-3/+1
|
* web_service: Implement JSON serialization of telemetry data.bunnei2017-07-122-0/+125
|
* web_backend: Add initial interface to POST data to Citra Web Services.bunnei2017-07-122-0/+63
|
* web_service: Add skeleton project.bunnei2017-07-105-0/+50