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.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rust/unit-wasm-sys/rusty.rs b/src/rust/unit-wasm-sys/rusty.rs
index be7a5e1..81b3e5b 100644
--- a/src/rust/unit-wasm-sys/rusty.rs
+++ b/src/rust/unit-wasm-sys/rusty.rs
@@ -103,6 +103,10 @@ pub fn uwr_get_http_content_sent(ctx: *const luw_ctx_t) -> usize {
unsafe { luw_get_http_content_sent(ctx) }
}
+pub fn uwr_get_http_total_content_sent(ctx: *const luw_ctx_t) -> usize {
+ unsafe { luw_get_http_total_content_sent(ctx) }
+}
+
pub fn uwr_get_http_content(ctx: *const luw_ctx_t) -> *const u8 {
unsafe { luw_get_http_content(ctx) }
}