Command-line client for ReactiveSocket
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle
src
.editorconfig
.gitignore
.travis.yml
CHANGES.md
CONTRIBUTING.md
LICENSE
README.md
build.gradle
create_release.sh
gradle.properties
gradlew
gradlew.bat
rsocket-cli
settings.gradle

README.md

RSocket CLI

Description

Simple RSocket CLI currently for two main purposes

  1. Early testing of new protocol server implementations e.g. websocket
  2. Sending some basic traffic to servers built using RSocket e.g. help debug a mobile <=> server integration issue.

Supports tcp and ws URIs

Build Status

Build and Run (one step)

$ ./rsocket-cli tcp://localhost:8765

Installing via Homebrew

Use tab completion for help with specifying the operation type.

$ brew install yschimke/tap/rsocket-cli
$ rsocket-cli -i "I am a Server" --server --debug tcp://localhost:8765       # window 1
$ rsocket-cli --request -i "I am a Client" --debug tcp://localhost:8765      # window 2

Stream the dictionary (With frames debugged)

$ rsocket-cli --debug -i @/usr/share/dict/words --server tcp://localhost:8765     # window 1
$ rsocket-cli --stream -i "Word Up" tcp://localhost:8765                          # window 2