Skip to content

gustavosbarreto/qwebsocket

Repository files navigation

QWebSocket

Qt WebSocket library

Build Status

Building

$ git clone --recursive https://github.com/gustavosbarreto/qwebsocket.git
$ cd qwebsocket
$ cmake -DCMAKE_INSTALL_PREFIX=/usr
$ make
$ make install

Documentation

Methods

connect(QUrl uri)

Connect to a WebSocket server

disconnect()

Disconnect from the server

send(QString message)

Send a message to the server

Signals

message(QString message)

Emitted when a message arriaves from the server

opened()

Emitted when the connection to the server is open

closed()

Emitted when the connection to the server was closed

failed()

Emitted when the connection to the server has failed

About

Qt WebSocket client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages