OlegDokuka / rsocket-cli

Command-line client for ReactiveSocket

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:Kotlin 95.7%Language:Shell 4.3%