Skip to content

A simple command line websocket client for debugging websocket servers

Notifications You must be signed in to change notification settings

DheerendraRathor/SimpleWsClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleWsClient

A simple websocket client in Golang to debug websocket server.

Features:

  • Awesome logging. Every action taken and every event registered is logged.
  • Takes care of sending pong.
  • Send received message back to server
  • In case of binary message, it logs base64 encoded message.

Installation:

  • Download latest exe/binary for required platform from Github releases
  • OR if go is installed then use go get -u github.com/DheerendraRathor/SimpleWsClient

Usages:

$ ./SimpleWsClient -help
Usage of ./SimpleWsClient:
  -addr string
        http service address (default "ws://echo.websocket.org")
  -echoDelay uint
        Delay before echoing back received message from server
  -protocols string
        Comma separated list of protocols to use

$ ./SimpleWsClient -addr wss://echo.websocket.org -protocols echo,chat

About

A simple command line websocket client for debugging websocket servers

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages