@exmg/exmg-web-socket

Web Sockets Element

Usage no npm install needed!

<script type="module">
  import exmgExmgWebSocket from 'https://cdn.skypack.dev/@exmg/exmg-web-socket';
</script>

README

exmg-web-socket Build Status

Polymer 2.0 Web Sockets Element including keep alive

Example:

<exmg-web-socket
  url="[[url]]"
  last-response="{{lastResponse}}"
  keep-alive verbose>
</exmg-web-socket>

Please visit the API Documentation and demo page for more information.

Install the Polymer-CLI

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your element locally.

Viewing Your Element

$ polymer serve