Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gustavosbarreto/qwebsocket
Qt WebSocket client
https://github.com/gustavosbarreto/qwebsocket
Last synced: about 2 months ago
JSON representation
Qt WebSocket client
- Host: GitHub
- URL: https://github.com/gustavosbarreto/qwebsocket
- Owner: gustavosbarreto
- Created: 2011-08-16T15:58:25.000Z (over 13 years ago)
- Default Branch: qt4
- Last Pushed: 2014-10-29T22:20:42.000Z (about 10 years ago)
- Last Synced: 2024-04-15T03:06:15.166Z (8 months ago)
- Language: C++
- Homepage:
- Size: 184 KB
- Stars: 23
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
QWebSocket
==========Qt WebSocket library
[![Build Status](https://travis-ci.org/gustavosbarreto/qwebsocket.png?branch=master)](https://travis-ci.org/gustavosbarreto/qwebsocket)
Building
--------$ git clone --recursive https://github.com/gustavosbarreto/qwebsocket.git
$ cd qwebsocket
$ cmake -DCMAKE_INSTALL_PREFIX=/usr
$ make
$ make installDocumentation
-------------# 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