All Projects → prahladyeri → http-live-simulator

prahladyeri / http-live-simulator

Licence: MIT license
A simple HTTP Server that serves with random delay for live simulation

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to http-live-simulator

zhamao-framework
协程、高性能、灵活的聊天机器人 & Web 开发框架(炸毛框架)
Stars: ✭ 99 (+70.69%)
Mutual labels:  http-server
stream video server
demonstrates how to create video streaming server with the help of aiohttp and opencv
Stars: ✭ 15 (-74.14%)
Mutual labels:  http-server
Mgx
🌈 A high performance network framework written in c++ (support tcp and http)
Stars: ✭ 15 (-74.14%)
Mutual labels:  http-server
Network-Learn
A cross-platform network learning demos. Like high-performance http server
Stars: ✭ 23 (-60.34%)
Mutual labels:  http-server
simple http server
simple http server for upload and download
Stars: ✭ 101 (+74.14%)
Mutual labels:  http-server
hunt-http
http library for D, support http 1.1 / http 2.0 (http2) / websocket server and client.
Stars: ✭ 29 (-50%)
Mutual labels:  http-server
rux
⚡ Rux is an simple and fast web framework. support route group, param route binding, middleware, compatible http.Handler interface. 简单且快速的 Go api/web 框架,支持路由分组,路由参数绑定,中间件,兼容 http.Handler 接口
Stars: ✭ 81 (+39.66%)
Mutual labels:  http-server
malloy
A C++ library providing embeddable server & client components for both HTTP and WebSocket.
Stars: ✭ 29 (-50%)
Mutual labels:  http-server
aiohttp-json-rpc
Implements JSON-RPC 2.0 using aiohttp
Stars: ✭ 54 (-6.9%)
Mutual labels:  http-server
http-graceful-shutdown
Gracefully terminates HTTP servers in Node.js
Stars: ✭ 79 (+36.21%)
Mutual labels:  http-server
zipstream
A command line tool that allows you to easily share files and directories over the network
Stars: ✭ 49 (-15.52%)
Mutual labels:  http-server
http-server-static-content
Static content / file serving for Amp's HTTP server.
Stars: ✭ 19 (-67.24%)
Mutual labels:  http-server
NETMF-Toolkit
The .NET Micro Framework Toolkit (using Microsoft .NET Micro Framework)
Stars: ✭ 13 (-77.59%)
Mutual labels:  http-server
AutoIt-HTTP-Server
A simple http server powered by AutoIt
Stars: ✭ 14 (-75.86%)
Mutual labels:  http-server
bittyhttp
A threaded HTTP library for building REST services in C.
Stars: ✭ 12 (-79.31%)
Mutual labels:  http-server
drogon
Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows
Stars: ✭ 7,742 (+13248.28%)
Mutual labels:  http-server
zenith
⚡ Functional Scala HTTP server, client, and toolkit.
Stars: ✭ 15 (-74.14%)
Mutual labels:  http-server
http-accept
Parse Accept and Accept-Language HTTP headers in Ruby.
Stars: ✭ 69 (+18.97%)
Mutual labels:  http-server
instant api
Instantly create an HTTP API with automatic type conversions, JSON RPC, and a Swagger UI. Just add methods!
Stars: ✭ 115 (+98.28%)
Mutual labels:  http-server
ZiAPI
The elected Zia API for {Epitech} promo 2024 (Paris and Marseille)
Stars: ✭ 29 (-50%)
Mutual labels:  http-server

HTTP Live Simulator

http-live-simulator is a simple http file server for local development written in Node.JS. It is similar, for instance, to python's http.server module or node's http-server, but with one major difference: It adds a random time delay of 200-500 milliseconds before serving each request in order to simulate a live hosted environment where such delays are a common occurrence.

Installation:

npm install -g http-live-simulator

Usage:

$ http-live
Serving Directory: /your/current/path
Port 8080
Delay: 200-500ms

You can change the behaviour of http live server with following optional arguments:

Optional arguments:
  -h, --help            Show this help message and exit.
  -v, --version         Show program's version number and exit.
  -p PORT, --port PORT  Port number for running the server
  -m MIN_DELAY, --min-delay MIN_DELAY
                        Minimum delay in milliseconds
  -x MAX_DELAY, --max-delay MAX_DELAY
                        Maximum delay in milliseconds

Uninstallation:

npm uninstall -g http-live-simulator

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].