Skip to content

Commit 8c19d3b

Browse files
author
ali.ibrahim
committed
Documenting net module: various fixes.
1 parent 9f15191 commit 8c19d3b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/api/net.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
The `net` module is a client-side API for issuing HTTP(S) requests. It is
66
similar to the [HTTP](https://nodejs.org/api/http.html) and
7-
[HTTPS](https://nodejs.org/api/https.html) modules of Node.js but it uses
7+
[HTTPS](https://nodejs.org/api/https.html) modules of Node.js but uses
88
Chromium native networking library instead of the Node.js implementation
99
offering therefore a much greater support regarding web proxies.
1010

@@ -18,7 +18,7 @@ negotiate authentication schemes.
1818
* Support for traffic monitoring proxies: Fiddler-like proxies used for access
1919
control and monitoring.
2020

21-
The `net` module API has been specifically designed to mimic, as much closely as
21+
The `net` module API has been specifically designed to mimic, as closely as
2222
possible, the familiar Node.js API. The API components including classes,
2323
methods, properties and event names are similar to those commonly used in
2424
Node.js.
@@ -49,6 +49,9 @@ By the way, it is almost identical to how you would normally use the
4949
[HTTP](https://nodejs.org/api/http.html)/[HTTPS](https://nodejs.org/api/https.html)
5050
modules of Node.js
5151

52+
The `net` API can be used only after the application emits the `ready` event.
53+
Trying to use the module before the `ready` event will throw an error.
54+
5255
## Methods
5356

5457
The `net` module has the following methods:

0 commit comments

Comments
 (0)