Home
last modified time | relevance | path

Searched refs:ClientRequest (Results 1 – 25 of 29) sorted by relevance

12

/third_party/node/test/parallel/
Dtest-http-client-defaults.js5 const ClientRequest = require('http').ClientRequest; constant
8 const req = new ClientRequest({ createConnection: () => {} });
14 const req = new ClientRequest({ method: '', createConnection: () => {} });
20 const req = new ClientRequest({ path: '', createConnection: () => {} });
Dtest-http-outgoing-proto.js7 const ClientRequest = http.ClientRequest; constant
11 typeof ClientRequest.prototype._implicitHeader, 'function');
Dtest-client-request-destroy.js8 const clientRequest = new http.ClientRequest({ createConnection: () => {} });
Dtest-http-agent-uninitialized.js15 const req = new http.ClientRequest(`http://localhost:${server.address().port}/`);
Dtest-http-agent-uninitialized-with-handle.js20 const req = new http.ClientRequest(`http://localhost:${server.address().port}/`);
Dtest-http-client-timeout.js51 assert.ok(s instanceof http.ClientRequest);
/third_party/node/benchmark/http/
Dcreate-clientrequest.js4 const { ClientRequest } = require('http');
32 result = new ClientRequest(options[i]);
41 result = new ClientRequest(options[i], { createConnection: noop });
49 result = new ClientRequest(data[i], { createConnection: noop });
/third_party/node/lib/
D_http_client.js135 function ClientRequest(input, options, cb) { class
371 ObjectSetPrototypeOf(ClientRequest.prototype, OutgoingMessage.prototype);
372 ObjectSetPrototypeOf(ClientRequest, OutgoingMessage);
374 ClientRequest.prototype._finish = function _finish() {
401 ClientRequest.prototype._implicitHeader = function _implicitHeader() {
409 ClientRequest.prototype.abort = function abort() {
418 ClientRequest.prototype.destroy = function destroy(err) {
867 ClientRequest.prototype.onSocket = function onSocket(socket, err) {
909 ClientRequest.prototype._deferToConnect = _deferToConnect;
937 ClientRequest.prototype.setTimeout = function setTimeout(msecs, callback) {
[all …]
Dhttp.js32 const { ClientRequest } = require('_http_client');
100 return new ClientRequest(url, options, cb);
121 ClientRequest, property
Dhttps.js51 const { ClientRequest } = require('_http_client');
358 return ReflectConstruct(ClientRequest, args);
/third_party/node/doc/api/
Dhttps.md358 * Returns: {http.ClientRequest}
372 `https.request()` returns an instance of the [`http.ClientRequest`][]
373 class. The `ClientRequest` instance is a writable stream. If one needs to
374 upload a file with a POST request, then write to the `ClientRequest` object.
546 [`http.ClientRequest`]: http.md#class-httpclientrequest
Ddiagnostics_channel.md418 * `request` {http.ClientRequest}
424 * `request` {http.ClientRequest}
Dhttp.md253 * `request` {http.ClientRequest}
390 ## Class: `http.ClientRequest`
757 description: This method now returns a reference to `ClientRequest`.
1137 * Returns: {http.ClientRequest}
2318 [`http.ClientRequest`][] and passed as the first argument to the [`'request'`][]
2603 **Only valid for response obtained from [`http.ClientRequest`][].**
2615 **Only valid for response obtained from [`http.ClientRequest`][].**
2696 This class serves as the parent class of [`http.ClientRequest`][]
3302 * Returns: {http.ClientRequest}
3308 data for reasons stated in [`http.ClientRequest`][] section.
[all …]
Ddeprecations.md3020 Move to {Stream} API instead, as the [`http.ClientRequest`][],
3392 [`http.ClientRequest`]: http.md#class-httpclientrequest
/third_party/node/tools/doc/
Dtype-parser.mjs135 'http.ClientRequest': 'http.html#class-httpclientrequest',
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md920 * http: bubble up parser errors to ClientRequest (Brian White)
1069 * http: bubble up parser errors to ClientRequest (Brian White)
1756 * [#3236](https://github.com/joyent/node/issues/3236): http: Refactor ClientRequest.onSocket (isaac…
2485 * [#1223](https://github.com/joyent/node/issues/1223) Fix http.ClientRequest crashes if end() was c…
2639 * [#1417](https://github.com/joyent/node/issues/1417) Fix http.ClientRequest crashes if end() was c…
DCHANGELOG_V15.md143 …* add http.ClientRequest.getRawHeaderNames() (simov) [#37660](https://github.com/nodejs/node/pull/…
186 …dejs/node/commit/a5205819d8)] - **(SEMVER-MINOR)** **http**: add http.ClientRequest.getRawHeaderNa…
561 * \[[`4cdc5ea823`](https://github.com/nodejs/node/commit/4cdc5ea823)] - **http**: fix ClientRequest
773 …tps://github.com/nodejs/node/commit/aa7243e3d4)] - **http**: refactor ClientRequest destroy (Rober…
774 …ttps://github.com/nodejs/node/commit/80051abfcb)] - **http**: cleanup ClientRequest oncreate (Robe…
DCHANGELOG_V7.md980 …tps://github.com/nodejs/node/commit/be24cc0187)] - **benchmark**: add ClientRequest creation bench…
1070 ….com/nodejs/node/commit/75aa6050ab)] - **http**: eliminate capture of ClientRequest in Agent (Evan…
1071 …](https://github.com/nodejs/node/commit/5059b76cbc)] - **http**: misc ClientRequest cleanup (Brian…
1220 …tps://github.com/nodejs/node/commit/4ff1d3107f)] - **test**: add http.ClientRequest defaults test …
DCHANGELOG_IOJS.md1812 * **http**: the `http.ClientRequest#flush()` method has been deprecated and replaced with `http.Cli…
2124 * **http**: A new `'abort'` event emitted when a `http.ClientRequest` is aborted by the client. [#9…
2166 …/commit/2ca22aacbd)] - **(SEMVER-MINOR) http**: emit abort event from ClientRequest (Evan Lucas) […
DCHANGELOG_V14.md1357 …* add http.ClientRequest.getRawHeaderNames() (simov) [#37660](https://github.com/nodejs/node/pull/…
1694 …dejs/node/commit/d0115f14f6)] - **(SEMVER-MINOR)** **http**: add http.ClientRequest.getRawHeaderNa…
1697 …ttps://github.com/nodejs/node/commit/e7bc37909c)] - **http**: cleanup ClientRequest oncreate (Robe…
3314 …4b8df7fb)] - **(SEMVER-MINOR)** **http**: expose host and protocol on ClientRequest (wenningplus) …
3317 …e/commit/d87031def4)] - **(SEMVER-MINOR)** **http**: return this from ClientRequest#destroy() (Col…
4172 …173d044d09)] - **(SEMVER-MAJOR)** **http**: align OutgoingMessage and ClientRequest destroy (Rober…
DCHANGELOG_V11.md644 …://github.com/nodejs/node/commit/ff57a1c321)] - **doc**: clarify http.ClientRequest path descripti…
1235 …](https://github.com/nodejs/node/commit/d6b50c66cc)] - **http**: make ClientRequest#setTimeout() n…
1985 …ejs/node/commit/e96c60e472)] - **test**: reach res.\_dump after abort ClientRequest (Tadhg Creedon…
DCHANGELOG_V12.md1037 …8d125a64)] - **(SEMVER-MINOR)** **http**: expose host and protocol on ClientRequest (wenningplus) …
4800 * Exposed `headers`, `rawHeaders` and other fields on an `http.ClientRequest`
4890 …2308c7412a)] - **(SEMVER-MINOR)** **http**: expose headers on an http.ClientRequest "information" …
5944 …* validate timeout in `ClientRequest()` (cjihrig) [#26214](https://github.com/nodejs/node/pull/262…
6087 …ommit/907941d48e)] - **(SEMVER-MAJOR)** **http**: validate timeout in ClientRequest() (cjihrig) [#…
DCHANGELOG_V10.md836 …](https://github.com/nodejs/node/commit/ced7f67fbb)] - **http**: make ClientRequest#setTimeout() n…
1214 …ejs/node/commit/06208c8313)] - **test**: reach res.\_dump after abort ClientRequest (Tadhg Creedon…
4001 …ttps://github.com/nodejs/node/commit/658fbdc105)] - **doc**: add http.ClientRequest maxHeadersCoun…
DCHANGELOG_V5.md1105 …https://github.com/nodejs/node/commit/c745b4d5f8)] - **doc**: explain ClientRequest#setTimeout tim…
DCHANGELOG_V16.md2450 * **(SEMVER-MINOR)** **http**: add http.ClientRequest.getRawHeaderNames() (simov) [#37660](https://…

12