Expand description
Node.js http and https shim — pure-JS implementation for the QuickJS
extension runtime.
Provides http.request, http.get, https.request, https.get that route
all HTTP traffic through the capability-gated pi.http() hostcall. Uses the
EventEmitter from node:events for the standard Node.js event-based API.
Constants§
- NODE_
HTTPS_ JS - The JS source for the
node:httpsvirtual module. - NODE_
HTTP_ JS - The JS source for the
node:httpvirtual module.