Skip to content

Commit 3d014d9

Browse files
anonrigjasnell
andauthored
Update src/content/docs/workers/runtime-apis/nodejs/http.mdx
Co-authored-by: James M Snell <[email protected]>
1 parent dfba2b1 commit 3d014d9

File tree

1 file changed

+2
-0
lines changed
  • src/content/docs/workers/runtime-apis/nodejs

1 file changed

+2
-0
lines changed

src/content/docs/workers/runtime-apis/nodejs/http.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ get('http://docs.cloudflare.com/robots.txt', (res) => {
5151

5252
## request
5353

54+
An implementation of the Node.js [`http.request'](https://nodejs.org/docs/latest/api/http.html#httprequesturl-options-callback) method.
55+
5456
The `request` method creates an HTTP request with customizable options like method, headers, and body. It provides full control over the request configuration and returns a [writable stream](https://nodejs.org/docs/latest/api/stream.html#class-streamwritable) for sending request data.
5557

5658
```js

0 commit comments

Comments
 (0)