Home
last modified time | relevance | path

Searched refs:outgoingMessage (Results 1 – 11 of 11) sorted by relevance

/third_party/node/test/parallel/
Dtest-http-outgoing-proto.js17 const outgoingMessage = new OutgoingMessage(); constant
18 outgoingMessage.setHeader();
26 const outgoingMessage = new OutgoingMessage(); constant
27 outgoingMessage.setHeader('test');
35 const outgoingMessage = new OutgoingMessage(); constant
36 outgoingMessage.setHeader(404);
44 const outgoingMessage = new OutgoingMessage(); constant
45 outgoingMessage.setHeader.call({ _header: 'test' }, 'test', 'value');
53 const outgoingMessage = new OutgoingMessage(); constant
54 outgoingMessage.setHeader('200', 'あ');
[all …]
Dtest-http-outgoing-renderHeaders.js12 const outgoingMessage = new OutgoingMessage(); constant
13 outgoingMessage._header = {};
15 () => outgoingMessage._renderHeaders(),
25 const outgoingMessage = new OutgoingMessage(); constant
26 outgoingMessage[kOutHeaders] = null;
27 const result = outgoingMessage._renderHeaders();
33 const outgoingMessage = new OutgoingMessage(); constant
34 outgoingMessage[kOutHeaders] = {};
35 const result = outgoingMessage._renderHeaders();
40 const outgoingMessage = new OutgoingMessage(); constant
[all …]
Dtest-http-outgoing-internal-headers.js14 const outgoingMessage = new OutgoingMessage(); constant
15 outgoingMessage.getHeaders = common.mustCall();
16 outgoingMessage._headers; // eslint-disable-line no-unused-expressions
21 const outgoingMessage = new OutgoingMessage(); constant
22 outgoingMessage._headers = {
28 Object.entries(outgoingMessage[kOutHeaders]),
37 const outgoingMessage = new OutgoingMessage(); constant
38 outgoingMessage._headers = null;
41 outgoingMessage[kOutHeaders],
Dtest-outgoing-message-destroy.js8 const outgoingMessage = new http.OutgoingMessage(); constant
10 assert.strictEqual(outgoingMessage.destroyed, false);
11 assert.strictEqual(outgoingMessage.destroy(), outgoingMessage);
12 assert.strictEqual(outgoingMessage.destroyed, true);
13 assert.strictEqual(outgoingMessage.destroy(), outgoingMessage);
Dtest-http-outgoing-settimeout.js10 const outgoingMessage = new OutgoingMessage(); constant
11 outgoingMessage.socket = {
16 outgoingMessage.setTimeout(expectedMsecs);
22 const outgoingMessage = new OutgoingMessage(); constant
23 outgoingMessage.setTimeout(expectedMsecs);
25 outgoingMessage.emit('socket', {
Dtest-outgoing-message-pipe.js8 const outgoingMessage = new OutgoingMessage(); constant
10 () => { outgoingMessage.pipe(outgoingMessage); },
Dtest-http-outgoing-internal-headernames-setter.js11 const outgoingMessage = new OutgoingMessage(); constant
12 outgoingMessage._headerNames = {
Dtest-http-outgoing-internal-headernames-getter.js11 const outgoingMessage = new OutgoingMessage(); constant
12 outgoingMessage._headerNames; // eslint-disable-line no-unused-expressions
/third_party/node/doc/api/
Dhttp.md2223 Emitted when `outgoingMessage.end` was called.
2227 ### `outgoingMessage.addTrailers(headers)`
2253 ### `outgoingMessage.connection`
2259 > Stability: 0 - Deprecated: Use [`outgoingMessage.socket`][] instead.
2261 Aliases of `outgoingMessage.socket`
2262 ### `outgoingMessage.cork()`
2269 ### `outgoingMessage.destroy([error])`
2280 ### `outgoingMessage.end(chunk[, encoding][, callback])`
2298 `outgoingMessage.write(chunk, encoding)`, followed by
2299 `outgoingMessage.end(callback)`.
[all …]
/third_party/node/doc/changelogs/
DCHANGELOG_V12.md3514 …* Runtime-deprecate `outgoingMessage._headers` and `outgoingMessage._headerNames` (Morgan Roderick…
DCHANGELOG_V14.md1162 …github.com/nodejs/node/commit/30c82b2745)] - **doc**: fix wording in outgoingMessage.write (Tobias…