10Duke Enterprise C++ Client
|
#include <APIRequest.h>
Generic base for API requests.
RESPONSE | type of the response. |
Public Member Functions | |
virtual RESPONSE | execute ()=0 |
Execute the request synchronously. | |
|
pure virtual |
Execute the request synchronously.
tenduke::http::HTTPException | e.g. internal server errors, invalid configuration (e.g. HTTP 404 not found) et al. |
tenduke::net::NetworkingException | e.g. timeouts, networking communication problems |
tenduke::TimedOut | generic time outs |
tenduke::TendukeException | depending on business logic problems (invalid json, cryptography issues, unexpected response etc.) These are usually subclasses of tenduke::TendukeException |