HUB
Sign inSign up
sample_stream logo

pistatium/sample_stream

By pistatium

•Updated almost 9 years ago

Sample server of http streaming.

Image
0

768

pistatium/sample_stream repository overview

⁠SampleStream

Sample server of http streaming.

⁠How to use.

docker build -t stream .
docker run -it -p 8888:8000 stream

# Open http://localhost:8888/stream/json?interval=1&limit=5

⁠Parameter

  • interval
    • stream output interval [sec]. default=5
  • count
    • How many times dose server sent requests.
  • template
    • Output template. $count, $ts is available.
Tag summary
Recent tags
Content type
Image
Digest
Size
92.8 MB
Last updated
almost 9 years ago
docker pull pistatium/sample_stream:latest