automotive-message-broker  0.14.803
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Slots | Signals | Public Member Functions | Properties | List of all members
WebsocketClient Class Reference
Inheritance diagram for WebsocketClient:

Public Slots

void open ()
 
void send (const QByteArray &msg)
 
void close ()
 
QString errorString ()
 

Signals

void connected ()
 
void disconnected ()
 
void stateChanged (QAbstractSocket::SocketState state)
 
void textMessageReceived (const QString &message)
 
void binaryMessageReceived (const QByteArray &message)
 
void error (QAbstractSocket::SocketError error)
 

Public Member Functions

 WebsocketClient (const QString &url, QObject *parent=nullptr, QWebSocket *ws=nullptr)
 
 WebsocketClient (QWebSocket *other, QObject *parent=nullptr)
 
int readyState ()
 
QString getUrl ()
 
QString binaryType ()
 
void setBinaryType (const QString &bt)
 

Properties

int readyState
 
QString url
 
QString binaryType
 

The documentation for this class was generated from the following file: