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

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

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
```