make_stream -> make_response

This commit is contained in:
Martin Algesten
2018-06-12 22:03:19 +02:00
parent 729f907fe0
commit 0d398bc76b
5 changed files with 17 additions and 18 deletions

View File

@@ -28,7 +28,7 @@ where
handlers.insert(path.to_string(), Box::new(handler));
}
pub fn make_stream(
pub fn make_response(
status: u16,
status_text: &str,
headers: Vec<&str>,