-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
doc: add added: information for net
#7038
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
7ea6513
6024a32
eb22689
9070821
08d2389
eeae965
2b2af96
bc5846f
07fa01d
5b43685
035a523
590ac36
ea29d86
154e420
6342ebe
a70f00b
1640f44
884187b
3a59ccc
587ef17
a11e83e
6fbc6e3
4bdeeec
54fcb38
050e630
39e0900
b11db26
2886b4c
9cfa886
425dbe7
cf804f6
428396a
dbba89d
3c7e40c
9fb7e68
4a54db0
c228f94
5d0a29c
0d73225
11bad26
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -403,7 +403,7 @@ Not applicable to UNIX sockets. | |
|
|
||
| ### Event: 'timeout' | ||
| <!-- YAML | ||
| added: v0.5.0 | ||
| added: v0.1.90 | ||
| --> | ||
|
|
||
| Emitted if the socket times out from inactivity. This is only to notify that | ||
|
|
@@ -413,7 +413,7 @@ See also: [`socket.setTimeout()`][] | |
|
|
||
| ### socket.address() | ||
| <!-- YAML | ||
| added: v0.5.2 | ||
| added: v0.1.90 | ||
| --> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 0.1.90
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👌🏼 |
||
|
|
||
| Returns the bound address, the address family name and port of the | ||
|
|
@@ -423,7 +423,7 @@ three properties, e.g. | |
|
|
||
| ### socket.bufferSize | ||
| <!-- YAML | ||
| added: v0.5.0 | ||
| added: v0.3.8 | ||
| --> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. v0.3.8?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeap 👌🏼 |
||
|
|
||
| `net.Socket` has the property that `socket.write()` always works. This is to | ||
|
|
@@ -444,14 +444,14 @@ Users who experience large or growing `bufferSize` should attempt to | |
|
|
||
| ### socket.bytesRead | ||
| <!-- YAML | ||
| added: v0.1.98 | ||
| added: v0.5.3 | ||
| --> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are you sure? I think the first time this appears as a property in the source code is
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
👌🏼 |
||
|
|
||
| The amount of received bytes. | ||
|
|
||
| ### socket.bytesWritten | ||
| <!-- YAML | ||
| added: v0.3.2 | ||
| added: v0.5.3 | ||
| --> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👌🏼 |
||
|
|
||
| The amount of bytes sent. | ||
|
|
@@ -505,7 +505,7 @@ with options either as either `{port: port, host: host}` or `{path: path}`. | |
|
|
||
| ### socket.connecting | ||
| <!-- YAML | ||
| added: v0.1.91 | ||
| added: v6.1.0 | ||
| --> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cee4c25 points more to 6.1.0
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👌🏼 |
||
|
|
||
| If `true` - [`socket.connect(options[, connectListener])`][`socket.connect(options, connectListener)`] was called and | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.1.90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌🏼