use crate::{
Error,
http::{Request, Response},
session::Session
};
use std::collections::HashMap;
pub trait SessionCreator: Send + Sync {
fn create(&self, req: &Request) -> Result<Session, Error>;
fn apply(&self, values: &HashMap<String, String>, res: Response) -> Response;
}