Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gustavosbarreto/qwebsocket

Qt WebSocket client
https://github.com/gustavosbarreto/qwebsocket

Last synced: about 2 months ago
JSON representation

Qt WebSocket client

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 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