@@ -2577,12 +2577,15 @@ Returns `true` if the entire data was flushed successfully to the kernel |
2577 | 2577 | buffer. Returns `false` if all or part of the data was queued in user memory. |
2578 | 2578 | `'drain'` will be emitted when the buffer is free again. |
2579 | 2579 |
|
2580 | | -### `response.writeContinue()` |
| 2580 | +### `response.writeContinue([callback])` |
2581 | 2581 |
|
2582 | 2582 | <!-- YAML |
2583 | 2583 | added: v0.3.0 |
2584 | 2584 | --> |
2585 | 2585 |
|
| 2586 | +* `callback` {Function} Optional, called once the message has been written |
| 2587 | + to the socket. |
| 2588 | + |
2586 | 2589 | Sends an HTTP/1.1 100 Continue message to the client, indicating that |
2587 | 2590 | the request body should be sent. See the [`'checkContinue'`][] event on |
2588 | 2591 | `Server`. |
@@ -2744,14 +2747,18 @@ event on `http.ClientRequest`. |
2744 | 2747 | response.writeInformation(110, { 'X-Progress': '50%' }); |
2745 | 2748 | ``` |
2746 | 2749 |
|
2747 | | -### `response.writeProcessing()` |
| 2750 | +### `response.writeProcessing([callback])` |
2748 | 2751 |
|
2749 | 2752 | <!-- YAML |
2750 | 2753 | added: v10.0.0 |
2751 | 2754 | --> |
2752 | 2755 |
|
| 2756 | +* `callback` {Function} Optional, called once the message has been written |
| 2757 | + to the socket. |
| 2758 | + |
2753 | 2759 | Sends an HTTP/1.1 102 Processing message to the client, indicating that |
2754 | | -the request body should be sent. |
| 2760 | +the request has been received and is still being processed. This is |
| 2761 | +equivalent to `response.writeInformation(102, null, callback)`. |
2755 | 2762 |
|
2756 | 2763 | ## Class: `http.IncomingMessage` |
2757 | 2764 |
|
@@ -5018,10 +5025,10 @@ const agent2 = new http.Agent({ proxyEnv: process.env }); |
5018 | 5025 | [`response.writableFinished`]: #responsewritablefinished |
5019 | 5026 | [`response.write()`]: #responsewritechunk-encoding-callback |
5020 | 5027 | [`response.write(data, encoding)`]: #responsewritechunk-encoding-callback |
5021 | | -[`response.writeContinue()`]: #responsewritecontinue |
| 5028 | +[`response.writeContinue()`]: #responsewritecontinuecallback |
5022 | 5029 | [`response.writeEarlyHints()`]: #responsewriteearlyhintshints-callback |
5023 | 5030 | [`response.writeHead()`]: #responsewriteheadstatuscode-statusmessage-headers |
5024 | | -[`response.writeProcessing()`]: #responsewriteprocessing |
| 5031 | +[`response.writeProcessing()`]: #responsewriteprocessingcallback |
5025 | 5032 | [`server.close()`]: #serverclosecallback |
5026 | 5033 | [`server.headersTimeout`]: #serverheaderstimeout |
5027 | 5034 | [`server.keepAliveTimeoutBuffer`]: #serverkeepalivetimeoutbuffer |
|