Lines Matching defs:const
7 const common = require('../common');
8 const commonFixtures = require('../common/fixtures');
13 const assert = require('assert');
14 const http2 = require('http2');
15 const tls = require('tls');
16 const net = require('net');
18 const options = {
24 const serverTLS = http2.createSecureServer(options, () => {});
30 const server = http2.createServer(options, common.mustNotCall());
39 const server = http2.createServer();
47 const port = server.address().port;
54 const server = http2.createServer({ allowHalfOpen: true });
65 const port = server.address().port;
66 const socket = net.connect(port, common.mustCall());
74 const server = http2.createSecureServer(options);
82 const port = server.address().port;
93 const server = http2.createSecureServer({
107 const port = server.address().port;
108 const socket = tls.connect({