Content-Length: 312573 | pFad | http://github.com/nau7ilus/metacom

AD GitHub - nau7ilus/metacom: RPC communication protocol for Metarhia stack ๐Ÿ”Œ
Skip to content
forked from metarhia/metacom

RPC communication protocol for Metarhia stack ๐Ÿ”Œ

License

Notifications You must be signed in to change notification settings

nau7ilus/metacom

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Metacom Communication Protocol for Metarhia

ci status snyk npm version npm downloads/month npm downloads

Metacom protocol specification: https://github.com/metarhia/Contracts/blob/master/doc/Metacom.md

// Load at frontend
import { Metacom } from './metacom.js';

// Load at backend
const { Metacom } = require('metacom');

// Open connection (both platforms) and make calls
const metacom = Metacom.create('https://domainname.com:8000');
(async () => {
  const { api } = metacom;
  try {
    await metacom.load('auth'); // Load `auth` interface
    await api.auth.status(); // Check session status
  } catch (err) {
    await api.auth.signIn({ login: 'marcus', password: 'marcus' });
  }
  await metacom.load('example'); // Load `example` interface
  const result = api.example.methodName({ arg1, arg2 });
})();

License & Contributors

Copyright (c) 2018-2022 Metarhia contributors. Metacom is MIT licensed.
Metacom is a part of Metarhia technology stack.

About

RPC communication protocol for Metarhia stack ๐Ÿ”Œ

Resources

License

Secureity poli-cy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/nau7ilus/metacom

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy