summaryrefslogtreecommitdiffhomepage
path: root/API-Rust.md
diff options
context:
space:
mode:
Diffstat (limited to 'API-Rust.md')
-rw-r--r--API-Rust.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/API-Rust.md b/API-Rust.md
index 8a98fe6..434b082 100644
--- a/API-Rust.md
+++ b/API-Rust.md
@@ -67,6 +67,7 @@ and there isn't a real need to create wrappers specifically for them.
* [uwr_get_http_content_str](#uwr_get_http_content_str)
* [uwr_get_http_content_len](#uwr_get_http_content_len)
* [uwr_get_http_content_sent](#uwr_get_http_content_sent)
+ * [uwr_get_http_total_content_sent](#uwr_get_http_total_content_sent)
* [uwr_http_is_tls](#uwr_http_is_tls)
* [uwr_http_hdr_iter](#uwr_http_hdr_iter)
* [uwr_http_hdr_get_value](#uwr_http_hdr_get_value)
@@ -622,6 +623,16 @@ This function returns the length of the content that was sent to the
WebAssembly module in _this_ request. Remember, a single HTTP request may be
split over several calls to luw_request_handler().
+### uwr_get_http_total_content_sent
+
+```Rust
+pub fn uwr_get_http_total_content_sent(ctx: *const luw_ctx_t) -> usize;
+```
+
+This function returns the total length of the content that was sent to the
+WebAssembly module so far. Remember, a single HTTP request may be split over
+several calls to luw_request_handler().
+
### uwr_http_is_tls
```Rust