https://github.com/rsocket/rsocket-cli
Command-line client for ReactiveSocket
https://github.com/rsocket/rsocket-cli
Last synced: 11 months ago
JSON representation
Command-line client for ReactiveSocket
- Host: GitHub
- URL: https://github.com/rsocket/rsocket-cli
- Owner: rsocket
- License: apache-2.0
- Created: 2016-05-16T20:49:32.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-06-20T21:24:09.000Z (over 3 years ago)
- Last Synced: 2025-03-24T13:51:20.386Z (12 months ago)
- Language: Kotlin
- Size: 837 KB
- Stars: 71
- Watchers: 17
- Forks: 21
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# RSocket CLI
## Description
Simple RSocket CLI focused on sending basic traffic to servers built using RSocket e.g. help debug a mobile <=> server integration issue.
Supports ws and wss URIs
## Consider if you should use rsc instead
For rsocket-java specfic testing, the command line you probably want is https://github.com/making/rsc .
This library builds on https://github.com/rsocket/rsocket-kotlin .
# Build Status
## Build and Run
To build the RSocket CLI:
```
./gradlew --console plain installDist
```
To run:
```
./build/install/rsocket-cli/bin/rsocket-cli --help
```
The build and run:
```
$ ./rsocket-cli --help
```
## Install via Homebrew
Use tab completion for help with specifying the operation type.
```
$ brew install yschimke/tap/rsocket-cli
```
## Examples
A generic interaction:
```
$ rsocket-cli --request --debug wss://rsocket-demo.herokuapp.com/rsocket
```
A spring routed request to query tweets:
```
$ rsocket-cli --route=searchTweets -i Sunday wss://rsocket-demo.herokuapp.com/rsocket
```