aboutsummaryrefslogtreecommitdiff
path: root/beaker.h
diff options
context:
space:
mode:
Diffstat (limited to 'beaker.h')
-rw-r--r--beaker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/beaker.h b/beaker.h
index 634795f..f5c466e 100644
--- a/beaker.h
+++ b/beaker.h
@@ -96,6 +96,7 @@ char *parse_request_url(const char *request_buffer, UrlParams *params);
const char *get_mime_type(const char *file_path);
bool serve_static_file(const char *request_path_relative_to_static);
bool serve_static_file_with_mime(const char *request_path_relative_to_static, const char *mime_type);
+bool serve_data(const char *data, size_t size, const char *mime_type);
int beaker_run(const char *ip, int port);