Skip to content

rsocket/rsocket-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9cd4656 · Jun 20, 2022
Sep 12, 2020
May 18, 2019
Jun 20, 2022
Jun 20, 2022
Feb 21, 2021
Aug 30, 2020
May 16, 2016
Jun 20, 2022
Jun 20, 2022
May 27, 2017
May 27, 2017
May 16, 2016
Dec 12, 2020
Jun 20, 2022
Sep 17, 2017
Aug 14, 2020
Aug 14, 2020
Aug 14, 2018
May 31, 2017

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