Home
last modified time | relevance | path

Searched refs:createServer (Results 1 – 25 of 942) sorted by relevance

12345678910>>...38

/third_party/node/test/parallel/
Dtest-net-server-listen-handle.js67 net.createServer()
71 net.createServer()
87 net.createServer()
91 net.createServer()
97 net.createServer()
100 net.createServer()
104 net.createServer()
107 net.createServer()
114 net.createServer()
117 net.createServer()
[all …]
Dtest-net-server-listen-path.js27 net.createServer()
35 net.createServer()
43 net.createServer()
50 net.createServer()
58 const server = net.createServer()
76 const server1 = net.createServer().listen({ path: handlePath }, () => {
79 const server2 = net.createServer()
Dtest-net-server-listen-options.js10 net.createServer().listen().on('listening', common.mustCall(close));
12 net.createServer().listen(common.mustCall(close));
14 net.createServer().listen(0).on('listening', common.mustCall(close));
16 net.createServer().listen({ port: 0 })
22 (port, cb) => net.createServer().listen({ port }, cb),
23 (port, cb) => net.createServer().listen(port, cb),
50 net.createServer().listen({ port: -1, path: common.PIPE },
58 net.createServer().listen(options, common.mustNotCall());
Dtest-http-default-port.js38 for (const { mod, createServer } of [ field
39 { mod: http, createServer: http.createServer }, property
40 { mod: https, createServer: https.createServer.bind(null, options) }, property
42 const server = createServer(common.mustCall((req, res) => {
Dtest-https-agent-create-connection.js38 function createServer() { function
39 return https.createServer(options, (req, res) => {
46 const server = createServer();
64 const server = createServer();
79 const server = createServer();
94 const server = createServer();
108 const server = createServer();
123 const server = createServer();
138 const server = createServer();
Dtest-tls-basic-validations.js20 () => tls.createServer({ ciphers: 1 }),
37 () => tls.createServer({ key: 'dummykey', passphrase: 1 }),
45 () => tls.createServer({ ecdhCurve: 1 }),
53 () => tls.createServer({ handshakeTimeout: 'abcd' }),
63 () => tls.createServer({ sessionTimeout: 'abcd' }),
71 () => tls.createServer({ ticketKeys: 'abcd' }),
78 assert.throws(() => tls.createServer({ ticketKeys: Buffer.alloc(0) }),
Dtest-tls-no-cert-required.js33 tls.createServer({ ciphers: 'AECDH-NULL-SHA' })
36 tls.createServer(assert.fail)
39 tls.createServer({})
43 () => tls.createServer('this is not valid'),
52 tls.createServer()
Dtest-http2-compat-serverresponse-end.js14 createServer,
26 const server = createServer(mustCall((request, response) => {
65 const server = createServer(mustCall((request, response) => {
93 const server = createServer(mustCall((request, response) => {
124 const server = createServer(mustCall((request, response) => {
151 const server = createServer(mustCall((request, response) => {
190 const server = createServer(mustCall((request, response) => {
219 const server = createServer(mustCall((request, response) => {
254 const server = createServer(mustCall((request, response) => {
289 const server = createServer(mustCall((request, response) => {
[all …]
Dtest-tls-ticket.js40 function createServer() { function
46 const server = tls.createServer({
93 const naturalServers = [ createServer(), createServer(), createServer() ];
99 const shared = net.createServer(function(c) {
Dtest-http2-connect.js14 const { createServer, createSecureServer, connect } = require('http2');
20 const server = createServer();
47 const server = createServer();
108 createServer(function() {
133 const server = createServer();
156 const server = createServer();
Dtest-http-set-timeout-server.js45 const server = http.createServer();
60 const server = http.createServer(common.mustCall((req, res) => {
81 const server = http.createServer(common.mustCall((req, res) => {
98 const server = http.createServer(common.mustCall((req, res) => {
122 const server = http.createServer((req, res) => {
156 const server = http.createServer();
193 const server = http.createServer(common.mustCall((req, res) => {
Dtest-https-set-timeout-server.js55 const server = https.createServer(serverOptions);
71 const server = https.createServer(
95 const server = https.createServer(
115 const server = https.createServer(
142 const server = https.createServer(serverOptions, (req, res) => {
177 const server = https.createServer(serverOptions);
216 const server = https.createServer(serverOptions, common.mustCall(
Dtest-http2-capture-rejection.js9 const { createServer, connect } = require('http2');
17 const server = createServer();
50 const server = createServer();
78 const server = createServer(common.mustCall(async (req, res) => {
108 const server = createServer();
Dtest-http-agent-scheduling.js7 function createServer(count) { function
8 return http.createServer(common.mustCallAtLeast((req, res) => {
47 const server = createServer(8);
74 const server = createServer(8);
102 const server = createServer(8);
Dtest-http2-client-destroy.js15 const server = h2.createServer();
55 const server = h2.createServer();
108 const server = h2.createServer();
128 const server = h2.createServer();
146 const server = h2.createServer();
174 const server = h2.createServer();
211 const server = h2.createServer();
Dtest-tls-set-ciphers-error.js17 assert.throws(() => tls.createServer(options, common.mustNotCall()),
20 assert.throws(() => tls.createServer(options, common.mustNotCall()),
23 assert.throws(() => tls.createServer(options, common.mustNotCall()),
Dtest-http-writable-true-after-close.js5 const { get, createServer } = require('http');
14 const server = createServer(common.mustCall((req, res) => {
29 internal = createServer((req, res) => {
Dtest-http-server-capture-rejections.js5 const { createServer, request } = require('http');
11 const server = createServer(common.mustCall(async (req, res) => {
47 const server = createServer(common.mustCall(async (req, res) => {
89 const server = createServer(common.mustCall(async (req, res) => {
Dtest-https-options-boolean-check.js66 https.createServer({ key, cert });
87 https.createServer({ key, cert });
113 https.createServer({ key, cert });
134 https.createServer({ key, cert, ca });
148 https.createServer({ key, cert, ca });
Dtest-tls-options-boolean-check.js66 tls.createServer({ key, cert });
86 tls.createServer({ key, cert });
112 tls.createServer({ key, cert });
133 tls.createServer({ key, cert, ca });
147 tls.createServer({ key, cert, ca });
Dtest-http-generic-streams.js10 const server = http.createServer(common.mustCall((req, res) => {
34 const server = http.createServer(common.mustCall((req, res) => {
66 const server = http.createServer(common.mustCall((req, res) => {
104 const server = http.createServer(common.mustCall((req, res) => {
144 const server = http.createServer(common.mustNotCall());
Dtest-cluster-eaddrinuse.js36 const server = net.createServer(common.mustNotCall());
47 let server = net.createServer(common.mustNotCall());
54 server = net.createServer(common.mustNotCall());
/third_party/node/test/sequential/
Dtest-net-server-bind.js9 const server = net.createServer(common.mustNotCall());
19 const server = net.createServer(common.mustNotCall());
38 const server = net.createServer(common.mustNotCall());
48 const server = net.createServer(common.mustNotCall());
58 const server = net.createServer(common.mustNotCall());
Dtest-net-server-address.js30 const server = net.createServer();
56 const server = net.createServer();
71 const server = net.createServer();
87 const server = net.createServer();
102 const server = net.createServer();
/third_party/node/deps/npm/test/tap/
Dreferer.js6 http.createServer(function (q, s) {
26 http.createServer(function (q, s) {
46 http.createServer(function (q, s) {
66 http.createServer(function (q, s) {

12345678910>>...38