Skip to content

lksvenoy-r7/rsocket-cli

 
 

Repository files navigation

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

About

Command-line client for ReactiveSocket

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 95.8%
  • Shell 4.2%