ziron-communicator
TypeScript icon, indicating that this package has built-in type declarations

0.2.5 • Public • Published

ziron-communicator

This module is the implementation of the protocol that is used in the server and client of Ziron.

The protocol has two possible ways to communicate between two communicators and is blazing fast. Invokes represent the request/response principle. For example, A sends something to B and expects a response back. Transmits represent a simple transmit from A to B without a response from B. All data that is sent in invokes or transmits can be JSON content, binary or a stream. It is even possible to have JSON data that contains binary data or streams. Streams can be used to stream data in chunks from one to the other side. It is possible to use the implementation in any underlying structure that supports a bidirectional connection.

Package Sidebar

Install

npm i ziron-communicator

Weekly Downloads

0

Version

0.2.5

License

UNLICENSED

Unpacked Size

39.5 kB

Total Files

26

Last publish

Collaborators

  • lucacode