#relay-server #another #host #pipe #data #http #client

app http-pipe

通过中继服务器从一台主机将数据传输到另一台主机

1 个不稳定版本

0.2.0 2020年12月9日

#14#relay-server

自定义许可

23KB
548 代码行

Http Pipe

Crates.io

通过中继服务器从一台主机将数据传输到另一台主机

特性

  • 多线程传输
  • 自动从网络故障中恢复

用法

服务器

使用 Docker

docker run -p 80:8080 cww0614/http-pipe

客户端

# Can also use docker:
# alias http-pipe="docker run -it --rm cww0614/http-pipe"

# Sending
echo 123 | http-pipe http://example.com/endpoint

# Receiving
http-pipe http://example.com/endpoint > output.txt

依赖项

~25–38MB
~673K SLoC