@plasma-platform/centrifuge

Class to work with centrifuge

Usage no npm install needed!

<script type="module">
  import plasmaPlatformCentrifuge from 'https://cdn.skypack.dev/@plasma-platform/centrifuge';
</script>

README

version nextVersion downloads license dependency


Full documentation
install:
npm i @plasma-platform/centrifuge -S

Short documentation

Table of Contents

ErrorBadRequest

Custom error message for Bad Request server response

Parameters

  • message (string | null) error details (optional, default null)

ErrorCentrifuge

Custom error message for abstract server response

Parameters

  • statusCode number http status code
  • statusText string http status code text
  • message (string | null) error details (optional, default null)

ErrorServerResponse

Custom error message for abstract server response

Parameters

  • statusCode number http status code
  • statusText string http status code text
  • message (string | null) error details (optional, default null)

TMCentrifuge

TM Interface to Centrifuge

Parameters