hyper-json-streaming-example:如何使用 hyper 使用流式 json API 的示例

时间:2021-06-25 16:12:26
【文件属性】:
文件名称:hyper-json-streaming-example:如何使用 hyper 使用流式 json API 的示例
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-25 16:12:26
Rust 如何使用 Hyper 使用流式 json API 的示例。 使用 ruby​​ 示例服务器 确保你已经安装了 ruby​​ 和 bundler,然后运行bundle install && ruby app.rb 。 这将创建一个侦听端口 4567 的服务器。然后运行cargo run使客户端连接到它。
【文件预览】:
hyper-json-streaming-example-master
----.gitignore(7B)
----src()
--------main.rs(429B)
--------json_streamer.rs(1KB)
----Cargo.lock(4KB)
----Cargo.toml(166B)
----app.rb(222B)
----README.md(293B)
----Gemfile(45B)
----Gemfile.lock(261B)

网友评论