上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 111 下一页
摘要: 环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://docs.rs/axum/latest/axum/index.html 示例 main.rs use axum::{response::Html, routing::get, Router 阅读全文
posted @ 2022-04-29 13:55 jiangbo4444 阅读(606) 评论(0) 推荐(0)
摘要: 环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://docs.rs/axum/latest/axum/index.html 示例 toml [package] edition = "2021" name = "game" version = 阅读全文
posted @ 2022-04-29 13:53 jiangbo4444 阅读(550) 评论(0) 推荐(0)
摘要: 环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://docs.rs/axum/latest/axum/index.html 示例 main.rs use axum::{routing::get, Json, Router}; use ser 阅读全文
posted @ 2022-04-29 13:52 jiangbo4444 阅读(572) 评论(0) 推荐(0)
摘要: 环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://github.com/tokio-rs/axum/blob/main/examples/hello-world/src/main.rs 示例 main.rs use axum::{resp 阅读全文
posted @ 2022-04-29 13:49 jiangbo4444 阅读(189) 评论(0) 推荐(0)
摘要: 环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://github.com/tokio-rs/axum/blob/main/examples/hello-world/src/main.rs 示例 main.rs use axum::{rout 阅读全文
posted @ 2022-04-29 12:29 jiangbo4444 阅读(82) 评论(0) 推荐(0)
摘要: 环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://github.com/tokio-rs/axum/blob/main/examples/hello-world/src/main.rs 示例 main.rs use axum::{rout 阅读全文
posted @ 2022-04-29 12:28 jiangbo4444 阅读(109) 评论(0) 推荐(0)
摘要: 环境 Time 2022-01-15 Rust 1.58.0 Tokio 1.15.0 Hyper 0.14.16 概念 参考:https://hyper.rs/guides/server/graceful-shutdown/ 示例 main.rs use futures::TryStreamExt 阅读全文
posted @ 2022-04-27 15:58 jiangbo4444 阅读(164) 评论(0) 推荐(0)
摘要: 环境 Time 2022-01-15 Rust 1.58.0 Tokio 1.15.0 Hyper 0.14.16 概念 参考:https://hyper.rs/guides/client/advanced/ 示例 main.rs use std::error::Error; use hyper:: 阅读全文
posted @ 2022-04-27 15:57 jiangbo4444 阅读(477) 评论(0) 推荐(0)
摘要: 环境 Time 2022-01-15 Rust 1.58.0 Tokio 1.15.0 Hyper 0.14.16 概念 参考:https://hyper.rs/guides/client/basic/ 示例 main.rs use std::error::Error; use hyper::{bo 阅读全文
posted @ 2022-04-27 15:56 jiangbo4444 阅读(148) 评论(0) 推荐(0)
摘要: 环境 Time 2022-01-15 Rust 1.58.0 Tokio 1.15.0 Hyper 0.14.16 概念 参考:https://hyper.rs/guides/server/echo/ 示例 main.rs use futures::TryStreamExt; use hyper:: 阅读全文
posted @ 2022-04-27 15:56 jiangbo4444 阅读(106) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 111 下一页