600.0.0 • Published 5 years ago

@ihadeed/socketio-client v600.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@feathersjs/socketio-client

Build Status Dependency Status Download Status

The client for Socket.io Feathers connections

Installation

npm install @feathersjs/socketio-client --save

Quick example

const feathers = require('@feathersjs/feathers');
const socketio = require('@feathersjs/socketio-client');
const io = require('socket.io-client');

const socket = io('http://api.feathersjs.com');
const app = feathers();

// Set up Socket.io client with the socket
app.configure(socketio(socket));

// Receive real-time events through Socket.io
app.service('messages')
  .on('created', message => console.log('New message created', message));

// Call the `messages` service
app.service('messages').create({
  text: 'A message from a REST client'
});

Documentation

Please refer to the @feathersjs/socketio-client documentation for more details.

License

Copyright (c) 2018

Licensed under the MIT license.

600.0.0

5 years ago

500.0.0

5 years ago

100.5.0

5 years ago

100.4.0

5 years ago

100.3.0

5 years ago

100.2.0

5 years ago

100.1.0

5 years ago

100.0.0

5 years ago

6.0.0

5 years ago

5.7.0

5 years ago

5.6.0

5 years ago

5.5.0

5 years ago

5.4.0

5 years ago

5.3.0

5 years ago

5.2.1

5 years ago

5.0.1

5 years ago