feat: add parse_query_string
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user