summaryrefslogtreecommitdiffhomepage
path: root/src/c/libunit-wasm.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/c/libunit-wasm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/c/libunit-wasm.c b/src/c/libunit-wasm.c
index 69fe4c0..165dcd7 100644
--- a/src/c/libunit-wasm.c
+++ b/src/c/libunit-wasm.c
@@ -336,6 +336,11 @@ void luw_mem_reset(luw_ctx_t *ctx)
ctx->resp_hdr_idx = -1;
}
+void luw_http_set_response_status(luw_http_status_t status)
+{
+ nxt_wasm_set_resp_status(status);
+}
+
void luw_http_send_response(const luw_ctx_t *ctx)
{
nxt_wasm_send_response(ctx->resp_offset);