♻️ refactor: get rid of mod.rs
parent
90b6b6913e
commit
810a34463c
|
@ -97,8 +97,8 @@ fn error_reply (status: StatusCode, b: &str)
|
|||
.body (format! ("{}\n", b).into ())
|
||||
}
|
||||
|
||||
// Clients will come here to start requests, and always park for at least
|
||||
// a short amount of time.
|
||||
/// Clients will come here to start requests, and always park for at least
|
||||
/// a short amount of time.
|
||||
|
||||
async fn handle_http_request (
|
||||
req: http::request::Parts,
|
||||
|
|
|
@ -135,8 +135,8 @@ pub async fn handle_listen (
|
|||
}
|
||||
}
|
||||
|
||||
// Servers will come here to stream responses to clients
|
||||
// Step 5
|
||||
/// Servers will come here to stream responses to clients.
|
||||
/// (Step 5 in the docs)
|
||||
|
||||
pub async fn handle_response (
|
||||
req: Request <Body>,
|
||||
|
|
Loading…
Reference in New Issue