Sign inSign up

pistatium/sample_stream

By pistatium

•Updated over 8 years ago

Sample server of http streaming.

Image
0

737

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

Content type

Image

Digest

Size

92.8 MB

Last updated

over 8 years ago

docker pull pistatium/sample_stream