Expand description
Synchronous HTTP client bridge using bun_http::AsyncHTTP::init_sync + send_sync().
Provides a simple synchronous HTTP request function that can be called from anywhere in bao_runtime without needing SpiderMonkey context.
Structs§
- Http
Response - Simplified HTTP response type extracted from picohttp::Response. Owns all data (no borrowed lifetime) so it can be stored and used freely.
Functions§
- http_
request - Perform a synchronous HTTP request via bun_http::AsyncHTTP::send_sync().