0.1.0 • Published 9 years ago

uservices-socket.io-client-polymer v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Micro (u)Services - Polymer Custom Element for Socket.IO Client Proxies

Overview

A polymer custom element to easily consume remote proxies of uServices via socket.io.

Usage

Install:

npm install uservices-socket.io-client-polymer

Basic Usage: (see the uServices project for examples on how to create a uService spec)

<!-- Consume a method -->
<uservices-method service-name="{{serviceName}}" method-name="{{methdName}}" args="{{methodArgs}}" result="{{methodResults}}"></uservices-inject>
<uservices-event service-name="{{serviceName}}" method-name="{{eventName}}" args="{{eventArgs}}" result="{{eventUpdates}}"></uservices-inject>