From 43b84013e5383d0b2f915c6fbf8c71acc281c1ad Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Sat, 9 Sep 2023 02:04:30 +0100 Subject: rust/rusty: Add a wrapper for the new luw_http_set_response_status() The new uwr_http_set_response_status() function allows to set the HTTP response status in Rust WebAssembly modules. It takes one of the luw_http_status_t response status values. Signed-off-by: Andrew Clayton --- src/rust/unit-wasm-sys/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rust/unit-wasm-sys/lib.rs') diff --git a/src/rust/unit-wasm-sys/lib.rs b/src/rust/unit-wasm-sys/lib.rs index 81cd464..4e1bf02 100644 --- a/src/rust/unit-wasm-sys/lib.rs +++ b/src/rust/unit-wasm-sys/lib.rs @@ -18,3 +18,4 @@ mod bindings { #[doc(no_inline)] pub use bindings::*; +pub use bindings::luw_http_status_t::*; -- cgit