You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns an iterator function which can be used to read the downstream client request body in a streaming fashion. This iterator can also be used as the value for the body field in request params, allowing one to stream the request body into a proxied upstream request.
275
+
Returns an iterator function which can be used to read the downstream client request body in a streaming fashion. For example:
276
276
277
277
```lua
278
278
localreq_reader=httpc:get_client_body_reader()
@@ -290,6 +290,17 @@ repeat
290
290
untilnotchunk
291
291
```
292
292
293
+
This iterator can also be used as the value for the body field in request params, allowing one to stream the request body into a proxied upstream request.
0 commit comments