An open API service indexing awesome lists of open source software.

https://github.com/linux-china/xterm-addon-rsocket

addon for xterm.js that enables attaching to a RSocket
https://github.com/linux-china/xterm-addon-rsocket

rsocket xtermjs

Last synced: 18 days ago
JSON representation

addon for xterm.js that enables attaching to a RSocket

Awesome Lists containing this project

README

          

## xterm-addon-rsocket

An addon for [xterm.js](https://github.com/xtermjs/xterm.js) that enables attaching to a rsocket. This addon requires xterm.js v4+.

### Install

```bash
npm install --save xterm-addon-rsocket
```

### Usage

```ts
import { Terminal } from 'xterm';
import { RSocketAddon } from 'xterm-addon-rsocket';

const term = new Terminal();
const rsocketAddon = new RSocketAddon('ws://localhost:8080/rsocket');

// Attach the rsocket to term
term.loadAddon(rsocketAddon);
```

# References

* RSocket: http://rsocket.io
* Spring Boot RSocket: https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-rsocket