summaryrefslogtreecommitdiffhomepage
path: root/API-Rust.md
diff options
context:
space:
mode:
Diffstat (limited to 'API-Rust.md')
-rw-r--r--API-Rust.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/API-Rust.md b/API-Rust.md
index 2ce6e79..565995b 100644
--- a/API-Rust.md
+++ b/API-Rust.md
@@ -830,7 +830,7 @@ uwr_http_add_header(&ctx, "Content-Type", "text/plain");
uwr_http_add_header(
ctx,
"Content-Length",
- &format!("{}", uwr_get_http_content_len(ctx)),
+ &format!("{}", uwr_get_response_data_size(ctx)),
);
```