Lines Matching defs:const
2 const common = require('../../common');
3 const fixture = require('../../common/fixtures');
8 const fs = require('fs');
9 const path = require('path');
11 const engine = path.join(__dirname,
17 const assert = require('assert');
18 const https = require('https');
20 const agentKey = fs.readFileSync(fixture.path('/keys/agent1-key.pem'));
21 const agentCert = fs.readFileSync(fixture.path('/keys/agent1-cert.pem'));
22 const agentCa = fs.readFileSync(fixture.path('/keys/ca1-cert.pem'));
24 const serverOptions = {
32 const server = https.createServer(serverOptions, common.mustCall((req, res) => {
36 const clientOptions = {
48 const req = https.request(clientOptions, common.mustCall((response) => {