accessd / anycable

Polyglot replacement for Ruby WebSocket servers with Action Cable protocol

Home Page:http://anycable.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitPitch Gem Version Build Status Circle CI Dependency Status Gitter

Anycable

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.

NOTE: Since version 0.4.0 this repository contains only core functionality and cannot be used separately as is. Rails plug-n-play integration has been extracted to anycable-rails gem.

Sponsored by Evil Martians

Requirements

How It Works?

Read our Wiki for more.

Links

Compatible WebSocket servers

Configuration

Anycable uses anyway_config, thus it is also possible to set configuration variables through secrets.yml or environment vars.

ActionCable Compatibility

This is the compatibility list for the AnyCable gem, not for AnyCable servers (which may not support some of the features yet).

Feature Status
Connection Identifiers +
Connection Request (cookies, params) +
Disconnect Handling +
Subscribe to channels +
Parameterized subscriptions +
Unsubscribe from channels +
Subscription Instance Variables -
Performing Channel Actions +
Streaming +
Custom stream callbacks -
Broadcasting +

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/anycable/anycable.

License

The gem is available as open source under the terms of the MIT License.

About

Polyglot replacement for Ruby WebSocket servers with Action Cable protocol

http://anycable.io

License:MIT License


Languages

Language:Ruby 94.6%Language:Protocol Buffer 4.2%Language:Makefile 0.8%Language:Shell 0.4%