<commit_before>#ifndef	APIMOCK_CONTROLLER_H
#define APIMOCK_CONTROLLER_H

namespace ApiMock {
	struct ResponseData;
	struct RequestData;
	enum HTTP_RESPONSE_CODE;

	class Controller {
	public:
		virtual ~Controller() {}
		
		ResponseData createResponse(HTTP_RESPONSE_CODE statusCode);

		virtual ResponseData get(RequestData request);
		virtual ResponseData put(RequestData request);
		virtual ResponseData del(RequestData request);
		virtual ResponseData post(RequestData request);
	};
}

#endif<commit_msg>include request/response headers in controller<commit_after>#ifndef	APIMOCK_CONTROLLER_H
#define APIMOCK_CONTROLLER_H

#include "http/requestdata.h"
#include "http/responsedata.h"

namespace ApiMock {
	enum HTTP_RESPONSE_CODE;

	class Controller {
	public:
		virtual ~Controller() {}
		
		ResponseData createResponse(HTTP_RESPONSE_CODE statusCode);

		virtual ResponseData get(RequestData request);
		virtual ResponseData put(RequestData request);
		virtual ResponseData del(RequestData request);
		virtual ResponseData post(RequestData request);
	};
}

#endif
{'fraction_non_alphanumeric': 0.07397003745318352, 'fraction_numerical': 0.0, 'mean_word_length': 6.581560283687943, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3194076', 'n_tokens_mistral': 345, 'n_tokens_neox': 322, 'n_words': 77}