jiraguha / rsocket-cli

Command-line client for ReactiveSocket

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Command-line client for ReactiveSocket

License:Apache License 2.0


Languages

Language:Kotlin 91.7%Language:Shell 4.5%Language:Dockerfile 2.8%Language:Java 1.1%