rsocket-js
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)
Status
This branch contains a rewrite (with significant changes) of rsocket-js from Flow to TypeScript. Please see #158 for additional details.
The artifacts published from this branch are considered UNSTABLE and may be subject to breaking changes while in preview.
Please see the master branch for sources related to 0.x.x
versions.
Installation
Individual packages published from this monorepo are distributed via NPM.
Packages are independently versioned.
- rsocket-core
- rsocket-messaging
- rsocket-composite-metadata
- rsocket-tcp-client
- rsocket-tcp-server
- rsocket-websocket-client
- rsocket-websocket-server
- rsocket-adapter-rxjs
- rsocket-graphql-apollo-link
- rsocket-graphql-apollo-server
Contributing
TODO: add CONTRIBUTING.md
Documentation & Examples
See packages/rsocket-examples for examples.
Guides for 0.x.x
versions can be found on https://rsocket.io/guides/rsocket-js.
License
See LICENSE file.