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
- Host: GitHub
- URL: https://github.com/linux-china/xterm-addon-rsocket
- Owner: linux-china
- Created: 2020-01-16T05:01:58.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-16T05:08:04.000Z (about 6 years ago)
- Last Synced: 2026-02-08T23:48:00.790Z (about 1 month ago)
- Topics: rsocket, xtermjs
- Size: 0 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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