<commit_before>#ifndef	APIMOCK_SERVER_H
#define APIMOCK_SERVER_H
#include <string>
#include <memory>
#include <functional>
#include "http/requestdata.h"
#include "http/responsedata.h"

namespace ApiMock {
	class Server {
		typedef std::function<ResponseData(RequestData)> CreateResponse;
		struct ServerImpl;
		std::unique_ptr<ServerImpl> _impl;

		Server& operator=(const Server&);
		Server(const Server&);

	public:
		Server();
		~Server();
		void startServer(const std::string& address, int port, int bufferSize, CreateResponse createResponse);
	};
}
<commit_msg>Make the CreateResponse typedef public<commit_after>#ifndef	APIMOCK_SERVER_H
#define APIMOCK_SERVER_H
#include <string>
#include <memory>
#include <functional>
#include "http/requestdata.h"
#include "http/responsedata.h"

namespace ApiMock {
	class Server {
		struct ServerImpl;
		std::unique_ptr<ServerImpl> _impl;

		Server& operator=(const Server&);
		Server(const Server&);

	public:
		typedef std::function<ResponseData(RequestData)> CreateResponse;
		Server();
		~Server();
		void startServer(const std::string& address, int port, int bufferSize, CreateResponse createResponse);
	};
}

{'fraction_non_alphanumeric': 0.11927398444252377, 'fraction_numerical': 0.0, 'mean_word_length': 6.66887417218543, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '7175108', 'n_tokens_mistral': 390, 'n_tokens_neox': 363, 'n_words': 90}