mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
doc: modify the return value of request.write()
PR-URL: https://github.com/nodejs/node/pull/18526 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
6a29630c30
commit
766eea6ca4
1 file changed
+3
-1
+3
-1
@@ -681,7 +681,9 @@ Defaults to `'utf8'`.
|
||||
The `callback` argument is optional and will be called when this chunk of data
|
||||
is flushed.
|
||||
|
||||
Returns `request`.
|
||||
Returns `true` if the entire data was flushed successfully to the kernel
|
||||
buffer. Returns `false` if all or part of the data was queued in user memory.
|
||||
`'drain'` will be emitted when the buffer is free again.
|
||||
|
||||
## Class: http.Server
|
||||
<!-- YAML
|
||||
|
||||
Reference in new issue
Block a user