/rsocket-js

JavaScript implementation of RSocket

Primary LanguageJavaScriptApache License 2.0Apache-2.0

rsocket-js

Build Status

A JavaScript implementation of the RSocket protocol intended for use in browsers and/or Node.js. From rsocket.io:

[RSocket] is an application protocol providing Reactive Streams semantics over an asynchronous, binary boundary.

It enables the following symmetric interaction models via async message passing over a single connection:

  • request/response (stream of 1)
  • request/stream (finite stream of many)
  • fire-and-forget (no response)
  • event subscription (infinite stream of many)
  • channel (bi-directional streams)

Install

Packages are published to npm:

Contributing

See the CONTRIBUTING.md file for how to help out.

Documentation

Work in progress, see the docs.

Also see the example.

License

rsocket-js is Apache-licensed. We also provide an additional patent grant.