ws-examples - Examples of using github.com/gobwas/ws

  •        12

Example applications written in Go with github.com/gobwas/ws inside. All commands can be built by make * or by just make.

https://github.com/gobwas/ws-examples

Tags
Implementation
License
Platform

   




Related Projects

Simple-WebSocket-Server - A very simple, fast, multithreaded, platform independent WebSocket (WS) and WebSocket Secure (WSS) server and client library implemented using C++11, Boost

  •    C++

A very simple, fast, multithreaded, platform independent WebSocket (WS) and WebSocket Secure (WSS) server and client library implemented using C++11, Asio (both Boost.Asio and standalone Asio can be used) and OpenSSL. Created to be an easy way to make WebSocket endpoints in C++. See https://github.com/eidheim/Simple-Web-Server for an easy way to make REST resources available from C++ applications. Also, feel free to check out the new C++ IDE supporting C++11/14/17: https://github.com/cppit/jucipp.

serial-port-json-server - A serial port JSON websocket server for Windows, Mac, Linux, Raspberry Pi, or BeagleBone Black that lets you communicate with your serial port from a web application

  •    Go

A serial port JSON websocket & web server that runs from the command line on Windows, Mac, Linux, Raspberry Pi, or Beagle Bone that lets you communicate with your serial port from a web application. This enables web apps to be written that can communicate with your local serial device such as an Arduino, CNC controller, or any device that communicates over the serial port. Since version 1.82 you can now also program your Arduino by uploading a hex file. The app is written in Go. It has an embedded web server and websocket server. The server runs on the standard port of localhost:8989. You can connect to it locally with your browser to interact by visiting http://localhost:8989. The websocket is technically running at ws://localhost/ws. You can of course connect to your websocket from any other computer to bind in remotely. For example, just connect to ws://192.168.1.10/ws if you are on a remote host where 192.168.1.10 is your devices actual IP address.

react-rethinkdb - Render realtime RethinkDB results in React

  •    Javascript

To get started immediately, follow the examples/tutorial/ project, or clone some of the other projects in examples/. This library provides a React mixin for running RethinkDB queries in any React component directly from the browser. It wraps rethinkdb-websocket-client to connect to the database, and is intended to be used with rethinkdb-websocket-server running in the backend.

restbed - Corvusoft's Restbed framework brings asynchronous RESTful functionality to C++11 applications

  •    C++

Restbed is a comprehensive and consistent programming model for building applications that require seamless and secure communication over HTTP, with the ability to model a range of business processes, designed to target mobile, tablet, desktop and embedded production environments. More in-depth examples can be found here. To see Restbed used in anger, please visit Corvusoft's RestQ project.

ClusterWS - :boom: Lightweight, fast and powerful framework for building scalable WebSocket applications in Node

  •    TypeScript

Lightweight, fast and powerful framework for building scalable WebSocket applications in Node.js. ClusterWS uses uWebSockets - one of the most lightweight, efficient & scalable WebSocket library.


subscriptions-transport-ws - :arrows_clockwise: A WebSocket client + server for GraphQL subscriptions

  •    TypeScript

A GraphQL WebSocket server and client to facilitate GraphQL queries, mutations and subscriptions over WebSocket.subscriptions-transport-ws is an extension for GraphQL, and you can use it with any GraphQL client and server (not only Apollo).

vpn-ws - A VPN system over websockets

  •    C

This is the client/server implementation of a layer-2 software switch able to route packets over websockets connections. A client creates a tap (ethernet-like) local device and connects to a websocket server (preferably over HTTPS). Once the websocket handshake is done, every packet received from the tuntap will be forwarded to the websocket server, and every websocket packet received from the server will be forwarded to the tuntap device.

nginx-websocket-proxy - nginx WebSocket Proxy

  •    

As of version 1.4, nginx is capable of forwarding WebSocket requests, so it can be used as a reverse proxy for HTTP, HTTPS, WS and WSS. Here are some simple example configuration snippets for WebSocket forwarding in nginx.

arduinoWebSockets - arduinoWebSockets

  •    C++

a WebSocket Server and Client for Arduino based on RFC6455. version 2.0 and up is not compatible with AVR/ATmega, check ATmega branch.

ws - Tiny WebSocket library for Go.

  •    Go

RFC6455 WebSocket implementation in Go. GoDoc.

ws-rs - Lightweight, event-driven WebSockets for Rust.

  •    Rust

Lightweight, event-driven WebSockets for Rust. This library provides an implementation of WebSockets, RFC6455 using MIO. It allows for handling multiple connections on a single thread, and even spawning new client connections on the same thread. This makes for very fast and resource efficient WebSockets. The API design abstracts away the menial parts of the WebSocket protocol and allows you to focus on application code without worrying about protocol conformance. However, it is also possible to get low-level access to individual WebSocket frames if you need to write extensions or want to optimize around the WebSocket protocol.

turbo-ws - :dash: Blazing fast low-level WebSocket server

  •    Javascript

The minimum supported Node version is v8.10.0. Sends a ping frame that may contain a payload. The client must send a Pong frame with the same payload in response. Check the connection.on('pong') method for more details.

golang-examples - Go(lang) examples - (explain the basics of golang)

  •    Go

These examples explain the basics of golang. There will be more examples from time to time. if you like, feel free to add more golang examples. Many thanks to all contributors.

OpenGL-Examples - A collection of simple single file OpenGL examples

  •    C++

The purpose of thise example collection is to provide short and self contained code that showcases OpenGL api functionality/features. The examples have no dependencies on any custom framework or basecode except for "canonical" libraries such as glfw, gl3w and glm. All the examples are written against core profiles of version OpenGL version 3.3 or higher. Most of the examples try to show the targeted features in a relevant use case such as using Frame Buffer Objects for FXAA, Transform Feedback to update particles on the GPU or Occlusion Queries + Conditional Render to optimize rendering a Cube (Minecraftlike) Cave. At the same time the goal is to keep the examples short and simple enough to not lose the focus.

aws-doc-sdk-examples - Code examples used in the official AWS SDK documentation.

  •    Java

This repository contains AWS SDK code examples used in the public AWS documentation repositories. The code examples are organized by programming language. For instance, all of the examples for the AWS SDK for Java Developer Guide are kept in the java directory.

einaros-ws

  •    Javascript

`ws` is a simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455

wipes - Pipe text to a WebSocket server

  •    Javascript

wipes is a simple Go program that reads from STDIN and demuxes lines to open WebSockets. For convenience, it also serves files over HTTP (defaulting to the local directory) such that you can talk to the WS server easily. Will start an HTTP server on 8080 and serve files from the current directory. It will also make available the output of tail -f /var/log/messages available via WebSockets at ws://localhost:8080/_ws.

examples - Demos and examples for Riot and submodules

  •    HTML

This is a series of examples designed to showcase the benefits of adopting Riot. It is made possible by the Riot open source community.Note: These examples are basically tested on the latest version of Riot. Check the older examples here for v2.

examples - Home for Elasticsearch examples available to everyone. It's a great way to get started.

  •    Javascript

This is a collection of examples to help you get familiar with the Elastic Stack and X-Pack. Each example folder includes a README with detailed instructions for getting up and running with the particular example. The following information pertains to the examples repo as a whole.If you want to try them all, you can download the entire repo . Or, if you are familiar with Git, you can clone the repo. Then, simply follow the instructions in the individual README of the examples you're interested in to get started.