viz
pub async fn serve( req: Request, addr: SocketAddr, state: Vec<Arc<dyn StateFactory>>, config: Arc<Config>, tree: Arc<Tree>) -> Result<Response>
Serves a request and returns a response.