Home
last modified time | relevance | path

Searched defs:agent (Results 1 – 25 of 105) sorted by relevance

12345

/third_party/node/test/parallel/
Dtest-http-agent-timeout.js10 const agent = new http.Agent({ keepAlive: true }); constant
18 http.get({ port: server.address().port, agent }) field
24 http.get({ port: server.address().port, agent }) field
39 const agent = new http.Agent({ keepAlive: true, timeout: 50 }); constant
46 http.get({ port: server.address().port, agent }) field
53 http.get({ port: server.address().port, agent }) field
69 const agent = new http.Agent({ keepAlive: true }); constant
77 http.get({ port: server.address().port, agent }) field
84 http.get({ port: server.address().port, agent }) field
113 const agent = new CustomAgent({ keepAlive: true, timeout: AGENT_TIMEOUT }); constant
[all …]
Dtest-http-client-abort-keep-alive-queued-tcp-socket.js22 const agent = new Agent({ constant
27 http.get({ agent, port }, (res) => res.resume()); property
29 const req = http.get({ agent, port }, common.mustNotCall()); property
40 http.get({ agent, port }, common.mustCall((res) => { property
Dtest-http-client-abort-keep-alive-queued-unix-socket.js23 const agent = new Agent({ constant
28 http.get({ agent, socketPath }, (res) => res.resume()); property
30 const req = http.get({ agent, socketPath }, common.mustNotCall()); property
33 http.get({ agent, socketPath }, common.mustCall((res) => { property
Dtest-http-keep-alive.js35 const agent = new http.Agent({ maxSockets: 1 }); constant
42 path: '/', headers: headers, port: this.address().port, agent: agent property
50 path: '/', headers: headers, port: this.address().port, agent: agent property
58 path: '/', headers: headers, port: this.address().port, agent: agent property
Dtest-http-client-keep-alive-release-before-finish.js8 const agent = new http.Agent({ constant
16 agent, property
32 agent, property
Dtest-http-agent-reuse-drained-socket-only.js7 const agent = new http.Agent({ constant
28 agent, property
92 agent, property
111 agent, property
Dtest-http-no-read-no-dump.js23 const agent = new http.Agent({ constant
31 agent, property
49 agent, property
Dtest-http-client-abort-keep-alive-destroy-res.js20 const agent = new Agent({ constant
25 const req = http.get({ agent, port }, common.mustCall((res) => { property
30 http.get({ agent, port }, common.mustCall((res) => { property
Dtest-http.js65 const agent = new http.Agent({ port: server.address().port, maxSockets: 1 }); constant
74 agent: agent property
93 agent: agent property
117 agent: agent property
Dtest-http-abort-queued.js43 const agent = new http.Agent({ maxSockets: 1 }); constant
51 agent: agent property
64 agent: agent property
Dtest-async-hooks-http-agent.js13 const agent = new http.Agent({ constant
34 agent, port, method: 'POST' property
55 agent, port, method: 'POST', headers: { property
Dtest-http-client-set-timeout-after-end.js15 const agent = new Agent({ keepAlive: true, maxSockets: 1 }); constant
20 const req = get({ agent, port }, (res) => { property
Dtest-async-hooks-http-agent-destroy.js23 const agent = new http.Agent({ constant
44 agent, port, method: 'POST' property
62 agent, port, method: 'POST' property
Dtest-http-outgoing-end-cork.js52 const sendRequest = (agent) => new Promise((resolve, reject) => { argument
59 agent field
77 const agent = new http.Agent({ keepAlive: true }); constant
Dtest-http-agent-abort-controller.js7 const agent = new Agent(); constant
44 agent: agent, property
60 agent: agent, property
Dtest-http-agent-close.js6 const agent = new http.Agent(); constant
14 agent field
Dtest-http-client-read-in-error.js34 const agent = new Agent(); constant
37 agent field
Dtest-http-keepalive-free.js13 const agent = http.Agent({ keepAlive: true }); constant
18 agent field
Dtest-http-automatic-headers.js15 const agent = new http.Agent({ port: server.address().port, maxSockets: 1 }); constant
19 agent: agent property
Dtest-https-agent-abort-controller.js13 const agent = new Agent(); constant
58 agent: agent, property
74 agent: agent, property
Dtest-http-client-immediate-error.js18 const agent = new http.Agent(); constant
41 agent field
/third_party/node/test/async-hooks/
Dtest-async-local-storage-http-agent.js9 const agent = new http.Agent({ constant
25 http.get({ agent, port }, common.mustCall((res) => { property
Dtest-http-agent-handle-reuse-serial.js20 const agent = new http.Agent({ constant
41 agent, port, method: 'POST', property
62 agent, port, method: 'POST', headers: { property
/third_party/python/Lib/test/
Dtest_robotparser.py14 agent = 'test_robotparser' variable in BaseRobotTest
144 agent = 'figtree' variable in CrawlDelayAndRequestRateTest
153 agent = 'FigTree Robot libwww-perl/5.04' variable in DifferentAgentTest
192 agent = 'Googlebot' variable in AnotherInvalidRequestRateTest
208 agent = 'Googlebot' variable in UserAgentOrderingTest
213 agent = 'Googlebot-Mobile' variable in UserAgentGoogleMobileTest
224 agent = 'googlebot' variable in GoogleURLOrderingTest
/third_party/node/test/sequential/
Dtest-http-server-keep-alive-timeout-slow-server.js19 const agent = new http.Agent({ constant
26 const req = http.request({ agent, path, port }, common.mustCall((res) => { property

12345