summaryrefslogtreecommitdiffhomepage
path: root/src/rust/unit-wasm-sys/rusty.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust/unit-wasm-sys/rusty.rs')
-rw-r--r--src/rust/unit-wasm-sys/rusty.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rust/unit-wasm-sys/rusty.rs b/src/rust/unit-wasm-sys/rusty.rs
index 3ef7e82..5d1fbad 100644
--- a/src/rust/unit-wasm-sys/rusty.rs
+++ b/src/rust/unit-wasm-sys/rusty.rs
@@ -179,6 +179,12 @@ pub fn uwr_luw_mem_reset(ctx: *mut luw_ctx_t) {
}
}
+pub fn uwr_http_set_response_status(status: luw_http_status_t) {
+ unsafe {
+ luw_http_set_response_status(status);
+ }
+}
+
pub fn uwr_http_send_response(ctx: *const luw_ctx_t) {
unsafe {
luw_http_send_response(ctx);