Chrislearn Young
Chrislearn Young
I'm afraid I will not implement it in salvo repository, It looks the core feature of it just read and write HeaderMap. Then common id generator may just a uuid...
Response created a new CookieJar in current version. Will this bug fixed if Response's cookiejar is cloned from the request cookiejar?
I will add description to document.
Maybe you can write code like this: ```rust res.set_status_code(StatusCode::INTERNAL_SERVER_ERROR); if req.content_type().map(|c|c.subtype() == mime::JSON).unwrap_or(false) { res.render(Json(JsonError { code: "InternalServerError".to_owned(), message: "Internal server error occured.".to_owned(), })); return; } res.render("Internal server error occurred");...
I think this hello world is also easy: ```rust use salvo::prelude::*; #[handler] async fn hello_world() -> &'static str { "Hello World" } #[tokio::main] async fn main() { let router =...
I think you can give ructe a issue to let it supports just render template as string. Or you just need a small function to render template. If supports calllback...
Too many functions rely on tokio, and supporting monoio seems to be a task that cannot be completed in the short term. Moreover, monoio is not a widely used runtime,...
You don't need to pay too much attention to the results of this performance test, which has a lot to do with the test code itself. For example, what third-party...
In fact, the performance differences between several web frameworks based on hyper are very small. If the performance of a certain test (such as diesel) is low, it is often...
I feel like adding fastwebsockets may make the default websocket implementation more complex. The types of fastwebsockets and tungstenite should not be universal, which will lead to completely different interfaces...