diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2016-02-18 09:11:16 +0100 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2016-02-18 09:11:16 +0100 |
| commit | 8f014f0915c7bdc97573f953aa9a3ae25a5f953a (patch) | |
| tree | 3a7802c954ba9374dc83f91038a885fc2ddf4118 /rockworkd/libpebble/jskit/jskitpebble.h | |
| parent | c177b720be89b9bae5b643caa9e84c132ec8f869 (diff) | |
Rockwork 1.0
Diffstat (limited to 'rockworkd/libpebble/jskit/jskitpebble.h')
| -rw-r--r-- | rockworkd/libpebble/jskit/jskitpebble.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rockworkd/libpebble/jskit/jskitpebble.h b/rockworkd/libpebble/jskit/jskitpebble.h index d9cd670..c461adb 100644 --- a/rockworkd/libpebble/jskit/jskitpebble.h +++ b/rockworkd/libpebble/jskit/jskitpebble.h @@ -32,6 +32,7 @@ public: Q_INVOKABLE void openURL(const QUrl &url); Q_INVOKABLE QJSValue createXMLHttpRequest(); + Q_INVOKABLE QJSValue createWebSocket(const QString &url, const QJSValue &protocols=QJSValue{}); void invokeCallbacks(const QString &type, const QJSValueList &args = QJSValueList()); |
