Skip to main content

Module http_shim

Module http_shim 

Source
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:https virtual module.
NODE_HTTP_JS
The JS source for the node:http virtual module.