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

Version Path
isomorfeus-transport-1.0.0.zeta23 README.md
isomorfeus-transport-1.0.0.zeta22 README.md
isomorfeus-transport-1.0.0.zeta21 README.md
isomorfeus-transport-1.0.0.zeta20 README.md
isomorfeus-transport-1.0.0.zeta19 README.md
isomorfeus-transport-1.0.0.zeta18 README.md
isomorfeus-transport-1.0.0.zeta17 README.md
isomorfeus-transport-1.0.0.zeta16 README.md
isomorfeus-transport-1.0.0.zeta15 README.md