Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 513 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 513 Bytes

slowserver

Slowserver is a simple web app with an intentionally slow responding endpoint and a websocket echo and websocket pinger endpoint.

This can be useful for testing HTTP clients and proxies.

Also included is wsocat, a command line websocket client.

Running

Use go install to install slowserver and wsocat.

go install github.com/jrwren/slowserver/...

In one shell run the server:

slowserver

Then run wsocat to connect to it:

wsocat ws://localhost:8080/ws-pinger