mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
docs: remove duplicate socket.write
This commit is contained in:
committed by
Ben Noordhuis
parent
3d1b670640
commit
7f94b5ccca
@@ -302,11 +302,6 @@ buffer. Returns `false` if all or part of the data was queued in user memory.
|
||||
The optional `callback` parameter will be executed when the data is finally
|
||||
written out - this may not be immediately.
|
||||
|
||||
#### socket.write(data, [encoding], [callback])
|
||||
|
||||
Write data with the optional encoding. The callback will be made when the
|
||||
data is flushed to the kernel.
|
||||
|
||||
#### socket.end([data], [encoding])
|
||||
|
||||
Half-closes the socket. i.e., it sends a FIN packet. It is possible the
|
||||
|
||||
Reference in New Issue
Block a user