Dial::App Class Reference
#include <App.h>
Public Types | |
using | ResponseCallback = Delegate< void(App &app, HttpResponse &response)> |
Public Member Functions | |
App (Client &client, const String &name) | |
Client & | getClient () const |
String | getName () const |
bool | status (ResponseCallback onResponse) |
bool | run (ResponseCallback onResponse=nullptr) |
bool | run (const String &body, MimeType mime, ResponseCallback onResponse=nullptr) |
bool | run (const HttpParams ¶ms, ResponseCallback onResponse=nullptr) |
bool | stop (ResponseCallback onResponse=nullptr) |
Member Typedef Documentation
◆ ResponseCallback
using Dial::App::ResponseCallback = Delegate<void(App& app, HttpResponse& response)> |
Constructor & Destructor Documentation
◆ App()
Member Function Documentation
◆ getClient()
|
inline |
◆ getName()
|
inline |
◆ run() [1/3]
bool Dial::App::run | ( | const HttpParams & | params, |
ResponseCallback | onResponse = nullptr |
||
) |
◆ run() [2/3]
bool Dial::App::run | ( | const String & | body, |
MimeType | mime, | ||
ResponseCallback | onResponse = nullptr |
||
) |
◆ run() [3/3]
|
inline |
◆ status()
bool Dial::App::status | ( | ResponseCallback | onResponse | ) |
◆ stop()
bool Dial::App::stop | ( | ResponseCallback | onResponse = nullptr | ) |
The documentation for this class was generated from the following file: