summaryrefslogtreecommitdiffhomepage
path: root/examples/rust
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2023-08-29 01:33:23 +0100
committerAndrew Clayton <a.clayton@nginx.com>2023-08-29 16:39:07 +0100
commitbf968c99ce109c63fded62ec573c4bc247dc9c0a (patch)
treeea116e4f38e77ab057b2b3c7287971dd1526b8a0 /examples/rust
parentd7acf9a053c876bfedc829e2d02558881bf26cc1 (diff)
downloadunit-wasm-bf968c99ce109c63fded62ec573c4bc247dc9c0a.tar.gz
unit-wasm-bf968c99ce109c63fded62ec573c4bc247dc9c0a.tar.bz2
Rust/rusty: Add uwr_get_http_content_str()
This function is like uwr_get_http_content() except that it returns a Rust str. This is more convenient if you want to operate on the body content within Rust. It's worth noting that uwr_get_http_content() returns a non null terminated buffer which makes it tricky to work with in Rust. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions