#ifndef __HTTP_REQUEST_LIST_H__
#define __HTTP_REQUEST_LIST_H__

#include "http_request.h"

#include "http.h"

typedef struct s_HttpRequestList HttpRequestList;

HttpRequestList * http_request_list_new (void);
void http_request_list_destroy (void *ptr);

void http_request_list_addRequest (HttpRequestList *request_list, HttpRequest *resp);
void http_request_list_removeRequest (HttpRequestList *request_list, const char *token);

HttpRequest * http_request_list_getRequest (HttpRequestList *request_list, const char *token);

dynTstring * http_request_list_getDiag (HttpRequestList *request_list);

#endif
