8000 GitHub - cianmce/slow-lane: Simple Ruby web app to slowly stream data at a specified rate - https://git.io/slow-lane
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cianmce/slow-lane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slow-lane

Control speed, content type and data length for streaming data

Live demo

https://slowlane.ciancode.com/stream.png?c=20&d=0.2

URL Params:

Param Default Description
ct or content_type text/plain Sets the response HTTP header
c or count 10 Sets number of lines to be returned
d or delay 0.4 Sets the delay between each line
t or text Random 64 hex characters Sets the text to be returned

Running locally with rerun

bundle exec rerun --background --dir . --pattern '{*}' -- bundle exec ruby slow_lane.rb

About

Simple Ruby web app to slowly stream data at a specified rate - https://git.io/slow-lane

Topics

Resources

Stars

Watchers

Forks

0