11 lines
272 B
C++
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
|