Skip to content

sitara-systems/sitara-websockets

Repository files navigation

sitara-websocketpp

A basic websocket library that can handle multiple connections to/from each Client or Server. Architecture derived from the official documentations utility classes.

Requirements

  • websocketpp
  • asio

All requirements are added as submodules to the project. To download them, run:

git submodule update --init --recursive

Usage

sitara-websockets uses property sheets to easily swap visual studio configuration settings to another project. Adjust the macros in the property sheets to match your specific project's layout.

Examples

  • exampleWebsocketServer is a basic server that just prints any received messages to the console.
  • exampleWebsocketClient is a basic client that periodically sends messages.
  • exampleWebsocketEchoServer is a server that will print received messages to console and also echos the received message back to the sender.
  • exampleDDPClient shows an simple DDP Client, using Meteor's DDP Protocol.

To Do

Currently, sitara-websockets does NOT support TLS/SSL.

DDP Protocol

sitara-websocket has a client implementation of Meteor's DDP Protocol. The implementation is incomplete but supports most common behaviors. It does not come with a minimongo implementation; it is really only designed to subscribed to updates or changes to documents in a Meteor database.

Contributing

This project uses the Git Flow paradigm. Before contributing, please make your own feature branch with your changes.

More Information

About

Simplified wrapper for websocketpp. Uses only C++17, should work in openFrameworks or Cinder.

Topics

Resources

License

Stars

Watchers

Forks