sockethub-platform-xmpp

A sockethub platform module implementing XMPP functionality.

Usage no npm install needed!

<script type="module">
  import sockethubPlatformXmpp from 'https://cdn.skypack.dev/sockethub-platform-xmpp';
</script>

README

sockethub-platform-xmpp

A sockethub platform module implementing XMPP functionality.

Overview

Each sockethub platform uses JSON Activity Streams 2.0 which are recevied from and sent to clients, through the Sockethub service.

Implemented Verbs (@type)

completed send completed request-friend completed remove-friend completed make-friend completed update completed join completed observe

Example

{
  context: 'xmpp',
  '@type': 'request-friend',
  actor: {
    '@id': 'user@host.org/Home'
  },
  target: {
    '@id': 'homer@jabber.net/Home',
  }
}

API

API docs can be found here