themblem/alg/http.h
2024-09-01 21:51:50 +01:00

11 lines
272 B
C++

#ifndef _HTTP_H_
#define _HTTP_H_
#include <string>
#include <vector>
typedef int (*http_handle_file)(const std::vector<uint8_t> &input,
std::vector<uint8_t> &output);
int start_http_server(int port, http_handle_file handle_file);
#endif