Contains services related to script execution.
More...
#include <ScriptService.hpp>
|
virtual void | getImpl (const QByteArray &operation, const APIParameters ¶meters, APIServiceResponse &response) Q_DECL_OVERRIDE |
| Implements the HTTP GET method. More...
|
|
virtual void | postImpl (const QByteArray &operation, const APIParameters ¶meters, const QByteArray &data, APIServiceResponse &response) Q_DECL_OVERRIDE |
| Implements the HTTP POST method. More...
|
|
QString | wrapHtml (QString &text, const QString &title) const |
| Because the HTML descriptions in Stellarium are often not compatible with "clean" HTML5 which is used for the main interface, this method can be used to explicitely set the doctype to 4.01 transitional for better results, and include the stylesheet iframestyle.css . More...
|
|
|
static const Qt::ConnectionType | SERVICE_DEFAULT_INVOKETYPE |
| This defines the connection type QMetaObject::invokeMethod has to use inside a service: either Qt::DirectConnection for main thread handling, or Qt::BlockingQueuedConnection for HTTP thread handling. More...
|
|
Contains services related to script execution.
- See also
- ScriptService operations (/api/scripts/)
Definition at line 31 of file ScriptService.hpp.
virtual void ScriptService::postImpl |
( |
const QByteArray & |
operation, |
|
|
const APIParameters & |
parameters, |
|
|
const QByteArray & |
data, |
|
|
APIServiceResponse & |
response |
|
) |
| |
|
protectedvirtual |
The documentation for this class was generated from the following file: