File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 44
55The ` net ` module is a client-side API for issuing HTTP(S) requests. It is
66similar 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
88Chromium native networking library instead of the Node.js implementation
99offering 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
1919control 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
2222possible, the familiar Node.js API. The API components including classes,
2323methods, properties and event names are similar to those commonly used in
2424Node.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 )
5050modules 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
5457The ` net ` module has the following methods:
You can’t perform that action at this time.
0 commit comments