Starscream - Websockets in swift for iOS and OSX

  •        166

Starscream is a conforming WebSocket (RFC 6455) client library in Swift. First thing is to import the framework. See the Installation instructions on how to add the framework to your project.

https://github.com/daltoniam/Starscream

Tags
Implementation
License
Platform

   




Related Projects

SwiftPhoenixClient - Connect your Phoenix and iOS applications through WebSockets!

  •    Swift

Swift Phoenix Client is an extension of Starscream websocket client library that makes it easy to connect to Phoenix sockets in a similar manner to the Phoenix Socket Javascript library. and running pod install. From there you will need to add import SwiftPhoenixClient in any ViewController you want it to be used.

beast - HTTP and WebSocket built on Boost.Asio in C++11

  •    C++

Beast is a C++ header-only library serving as a foundation for writing interoperable networking libraries by providing low-level HTTP/1, WebSocket, and networking protocol vocabulary types and algorithms using the consistent asynchronous model of Boost.Asio. Symmetry: Algorithms are role-agnostic; build clients, servers, or both.

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.

WebSocket++ - C++ Websocket client/server library

  •    C++

WebSocket++ is a header only C++ library that implements RFC6455 The WebSocket Protocol. It allows integrating WebSocket client and server functionality into C++ programs. It uses interchangeable network transport modules including one based on raw char buffers, one based on C++ iostreams, and one based on Asio (either via Boost or standalone). End users can write additional transport policies to support other networking or event libraries as needed.

WebSocket-Node - A WebSocket Implementation for Node.JS (Draft -08 through the final RFC 6455)

  •    Javascript

This is a (mostly) pure JavaScript implementation of the WebSocket protocol versions 8 and 13 for Node. There are some example client and server applications that implement various interoperability testing protocols in the "test/scripts" folder. For a WebSocket client written in ActionScript 3, see my AS3WebScocket project.


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.

faye-websocket-node - Standards-compliant WebSocket client and server

  •    Javascript

This is a general-purpose WebSocket implementation extracted from the Faye project. It provides classes for easily building WebSocket servers and clients in Node. It does not provide a server itself, but rather makes it easy to handle WebSocket connections within an existing Node application. It does not provide any abstraction other than the standard WebSocket API. It also provides an abstraction for handling EventSource connections, which are one-way connections that allow the server to push data to the client. They are based on streaming HTTP responses and can be easier to access via proxies than WebSockets.

WebSocket-for-Python - WebSocket client and server library for Python 2 and 3 as well as PyPy (ws4py 0

  •    Python

Python library providing an implementation of the WebSocket protocol defined in RFC 6455. Read the documentation for more information.

autobahn-testsuite - Autobahn WebSocket protocol testsuite

  •    Python

The Autobahn|Testsuite provides a fully automated test suite to verify client and server implementations of The WebSocket Protocol for specification conformance and implementation robustness. Autobahn|Testsuite also provides a couple of other tools useful for WebSocket (and WAMP) implementors and developers.

faye-websocket-ruby - Standards-compliant WebSocket client and server

  •    Ruby

This is a general-purpose WebSocket implementation extracted from the Faye project. It provides classes for easily building WebSocket servers and clients in Ruby. It does not provide a server itself, but rather makes it easy to handle WebSocket connections within an existing Rack application. It does not provide any abstraction other than the standard WebSocket API. It also provides an abstraction for handling EventSource connections, which are one-way connections that allow the server to push data to the client. They are based on streaming HTTP responses and can be easier to access via proxies than WebSockets.

ember-websockets - EmberJS WebSockets and Socket.IO addon

  •    Javascript

The send method takes 2 arguments. A message which is passed into the native websockets send method and an optional stringify boolean. This boolean, if set to true, will do a JSON.stringify to the message before passing it to the websocket send method. If you are sending strings it is recommended to pass true. socketFor takes two arguments: a url, a protocol array (optional), and returns a socket instance from its cache or a new websocket connection if one was not found.

WebSockets - Implementation of the WebSocket protocol, along with client and server integration components

  •    CSharp

Contains a managed implementation of the WebSocket protocol, along with server integration components.This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.

anycable - Polyglot replacement for Ruby WebSocket servers with Action Cable protocol

  •    Ruby

AnyCable allows you to use any WebSocket server (written in any language) as a replacement for your Ruby server (such as Faye, ActionCable, etc). AnyCable uses ActionCable protocol, so you can use ActionCable JavaScript client without any monkey-patching.

jetfire - WebSocket (RFC 6455) client library for iOS & OS X

  •    Objective-C

WebSocket RFC 6455 client library for iOS and OSX. Jetfire is a conforming WebSocket (RFC 6455) client library in Objective-C for iOS and OSX.

Websocket - The Hoa\Websocket library.

  •    PHP

Hoa is a modular, extensible and structured set of PHP libraries. Moreover, Hoa aims at being a bridge between industrial and research worlds. This library allows to manipulate the WebSocket protocol and proposes a server and a client. It supports two specifications RFC6455 and Hybi (at the same time).

SwiftWebSocket - Fast Websockets in Swift for iOS and OSX

  •    Swift

Conforming WebSocket (RFC 6455) client library for iOS and Mac OSX.SwiftWebSocket passes all 521 of the Autobahn's fuzzing tests, including strict UTF-8, and message compression.

websocket-ruby - Universal Ruby library to handle WebSocket protocol

  •    Ruby

Universal Ruby library to handle WebSocket protocol. It focuses on providing abstraction layer over WebSocket API instead of providing server or client functionality. In order to use native extension just install websocket-native gem or add it to Gemfile - WebSocket will automatically detect and load it.

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.

zerogw - A fast HTTP/WebSocket to zeromq gateway (UNMAINTAINED, take a look at swindon web server instead)

  •    C

Zerogw is a http to zeromq gateway. Which means it listens HTTP, parses request and sends it using zeromq socket (ZMQ_REQ). Then waits for the reply and responds with data received from zeromq socket. Starting with v0.3 zerogw also supports WebSockets. Websockets are implemented by forwarding incoming messages using ZMQ_PUB socket, and listening commands from ZMQ_SUB socket. Each WebSocket client can be subscribed to unlimited number of topics. Each zeromq message it either control message (e.g. subscription) or message to a specified topic which will be efficiently sent to every WebSocket subscribed to that particular topic.