diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2023-08-30 14:44:11 +0100 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2023-08-30 14:46:03 +0100 |
commit | dbd81dc934d0bfab56a99c01105ca2dd09b51644 (patch) | |
tree | 04130f425ae0f200661a4e68e7e1a78101cc4baf | |
parent | 9f65baff8a0bd7bfe450278006318717c7e7cecd (diff) | |
download | unit-wasm-dbd81dc934d0bfab56a99c01105ca2dd09b51644.tar.gz unit-wasm-dbd81dc934d0bfab56a99c01105ca2dd09b51644.tar.bz2 |
API-{C,Rust}.md: Note which version new functions were added
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
-rw-r--r-- | API-C.md | 2 | ||||
-rw-r--r-- | API-Rust.md | 8 |
2 files changed, 10 insertions, 0 deletions
@@ -668,6 +668,8 @@ 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(). +_Version: 0.2.0_ + ### luw_http_is_tls ```C diff --git a/API-Rust.md b/API-Rust.md index 434b082..07d4b7f 100644 --- a/API-Rust.md +++ b/API-Rust.md @@ -604,6 +604,8 @@ pub fn uwr_get_http_content_str(ctx: *const luw_ctx_t) -> &'static str; Same as above but returns a Rust str. +_Version: 0.2.0_ + ### uwr_get_http_content_len ```Rust @@ -633,6 +635,8 @@ 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(). +_Version: 0.2.0_ + ### uwr_http_is_tls ```Rust @@ -886,6 +890,8 @@ written as uwr_http_add_header_content_type(ctx, "text/plain"); ``` +_Version: 0.2.0_ + ### uwr_http_add_header_content_len ```Rust @@ -903,6 +909,8 @@ uwr_http_add_header_content_len(ctx); This function uses [uwr_get_response_data_size](#uwr_get_response_data_size) internally to get the size of the response data. +_Version: 0.2.0_ + ### uwr_http_send_headers ```Rust |