@advanced-rest-client/websocket-paneldeprecated

A web socket panel with the request and history of calls

Usage no npm install needed!

<script type="module">
  import advancedRestClientWebsocketPanel from 'https://cdn.skypack.dev/@advanced-rest-client/websocket-panel';
</script>

README

Published on NPM

Build Status

Published on webcomponents.org

websocket-panel

A web socket panel with the request and history of calls

Example:

<websocket-panel></websocket-panel>

API components

This components is a part of API components ecosystem

Usage

Installation

npm install --save @advanced-rest-client/websocket-panel

In an html file

<html>
  <head>
    <script type="module">
      import '@advanced-rest-client/websocket-panel/websocket-panel.js';
    </script>
  </head>
  <body>
    <websocket-panel></websocket-panel>
  </body>
</html>

In a Polymer 3 element

import {PolymerElement, html} from '@polymer/polymer/polymer-element.js';
import '@advanced-rest-client/websocket-panel/websocket-panel.js';

class SampleElement extends PolymerElement {
  static get template() {
    return html`<websocket-panel></websocket-panel>`;
  }
}
customElements.define('sample-element', SampleElement);

Installation

git clone https://github.com/advanced-rest-client/websocket-panel
cd websocket-panel
npm i

Running the demo locally

npm start

Running the tests

npm test