aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/inviting.cpp
AgeCommit message (Collapse)Author
2017-10-19Generated jobs: Don't dump empty strings to body parametersKitsune Ral
This is important for (soon to be added) LoginJob, since the server is sensitive to getting an (even empty) entity for "medium" as opposed to omitting it entirely. This cannot be addressed on the spec level; on the other hand, removing empty parameters from the payload reduces useless bytes getting on the wire.
2017-10-10Jobs with non-trivial results are generated properlyKitsune Ral
This addresses the last bullet in KitsuneRal/gtad#10, completing the implementation.
2017-10-02Drop ConnectionData parameter from {{template}} files too; less blanksKitsune Ral
2017-10-02All jobs: Drop ConnectionData parameter from the constructorKitsune Ral
Having to pass ConnectionData to each and every job class was nothing but boilerplate since the very beginning. Removing it required to prepend BaseJob::start() with ConnectionData-setting code, and to provide a way to alter the request configuration depending on the (late-coming) ConnectionData object. This is a new responsibility of BaseJob::start(); the previous BaseJob::start() contents have moved to BaseJob::sendRequest() (which is now invoked on retries, instead of start()).
2017-09-09First files made by api-generatorKitsune Ral
Actual usage will some with the next commit.