ziron-communicator
v0.2.5
Published
The protocol implementation that Ziron server and client uses.
Downloads
7
Maintainers
Readme
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.