summaryrefslogtreecommitdiffhomepage
path: root/API-C.md
diff options
context:
space:
mode:
Diffstat (limited to 'API-C.md')
-rw-r--r--API-C.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/API-C.md b/API-C.md
index f6c0bb7..c05d530 100644
--- a/API-C.md
+++ b/API-C.md
@@ -38,6 +38,7 @@ C Library for creating WebAssembly modules for use with NGINX Unit.
* [luw_get_http_content](#luw_get_http_content)
* [luw_get_http_content_len](#luw_get_http_content_len)
* [luw_get_http_content_sent](#luw_get_http_content_sent)
+ * [luw_get_http_total_content_sent](#luw_get_http_total_content_sent)
* [luw_http_is_tls](#luw_http_is_tls)
* [luw_http_hdr_iter](#luw_http_hdr_iter)
* [luw_http_hdr_get_value](#luw_http_hdr_get_value)
@@ -657,6 +658,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().
+### luw_get_http_total_content_sent
+
+```C
+size_t luw_get_http_total_content_sent(const luw_ctx_t *ctx);
+```
+
+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().
+
### luw_http_is_tls
```C