feat: add parse_query_string

This commit is contained in:
2020-08-09 12:55:28 +08:00
parent 37a3df4392
commit 547d8c9070

View File

@@ -5,6 +5,7 @@ mod error;
use std::pin::Pin;
use std::task::{ Context, Poll };
use std::collections::HashMap;
use bytes::Bytes;
use clap::{ App, Arg };
use actix_web::{ web, HttpServer, HttpRequest, HttpResponse };
@@ -68,3 +69,9 @@ async fn main() -> std::io::Result<()> {
.run()
.await
}
fn parse_query_string(query_string: &str) -> HashMap<String, Vec<String>> {
let map = HashMap::new();
map
}