Expand description
http.* — Async HTTP client bridge.
Provides http.request(url, opts) as an async Rust function.
When called from Lua via coroutine_eval, the coroutine yields
during the HTTP request and other coroutines can make progress.
§Streaming (SSE)
When stream = true, the response body is read as Server-Sent
Events. Each data: line is passed to the on_data(data_string)
Lua callback. The [DONE] sentinel terminates the stream.
§Security
No URL restrictions during development. The trust boundary is the Lua script author. A security model will be designed separately before production use.