Sha256: ba00fe948bbe567c3d5e4c182655cd558d00c7e8a8891ffb01467d5029aaadcf
Contents?: true
Size: 998 Bytes
Versions: 9
Compression:
Stored size: 998 Bytes
Contents
# isomorfeus-transport Transport and PubSub for Isomorfeus. ### Community and Support At the [Isomorfeus Framework Project](http://isomorfeus.com) ## Installation isomorfeus-transport is usually installed with the installer. Otherwise add to your Gemfile: ```ruby gem 'isomorfeus-transport' ``` and bundle install/update ## Server Side Rendering `yarn add ws` The 'ws' module then needs to be imported in application_ssr.js: ``` import WebSocket from 'ws'; global.WebSocket = WebSocket; ``` ## Configuration options Client and Server: - Isomorfeus.api_websocket_path - path for server side endpoint, default: `/isomorfeus/api/websocket` Server only: - Isomorfeus.middlewares - all the rack middlewares to load ## Usage - [Authentication and Current User](https://github.com/isomorfeus/isomorfeus-project/blob/master/ruby/isomorfeus-policy/docs/authentication.md) - [Channels (PubSub)](https://github.com/isomorfeus/isomorfeus-project/blob/master/ruby/isomorfeus-policy/docs/channels.md)
Version data entries
9 entries across 9 versions & 1 rubygems