tiny_httpd/tests/sse_count.sh
2021-12-11 10:02:32 -05:00

9 lines
137 B
Bash
Executable file

#!/usr/bin/env sh
SSE_SERVER=$1
"$SSE_SERVER" -p 8083 &
sleep 0.1
curl -N 'http://localhost:8083/count/10' -H user-agent:test
kill %1