summaryrefslogtreecommitdiff
path: root/minion/src/wifi_module.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-23 15:27:49 +0200
committerHampusM <hampus@hampusmat.com>2022-05-23 15:27:49 +0200
commitfb4ffea4161c3ac88eeb43bc886fab63dfdc3891 (patch)
tree9a268ac6950873f6c80fdec7c95ed52dc5521d09 /minion/src/wifi_module.hpp
parent0ef43baf0fc5db3a069047ac4f06bf20227f63b5 (diff)
feat(minion): add response headers
Diffstat (limited to 'minion/src/wifi_module.hpp')
-rw-r--r--minion/src/wifi_module.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/minion/src/wifi_module.hpp b/minion/src/wifi_module.hpp
index 51e90f0..963a1de 100644
--- a/minion/src/wifi_module.hpp
+++ b/minion/src/wifi_module.hpp
@@ -108,7 +108,9 @@ public:
auto send_response(
const NetworkConnection &connection,
size_t status_code,
- const char *data
+ const char **headers,
+ size_t headers_cnt,
+ const char *body
) noexcept -> bool;
private: