Searched refs:alpnProtocol (Results 1 – 13 of 13) sorted by relevance
/third_party/node/test/parallel/ |
D | test-http2-https-fallback.js | 26 const { socket: { alpnProtocol } } = request.httpVersion === '2.0' ? 30 alpnProtocol, property 52 const { alpnProtocol, httpVersion } = JSON.parse(raw); 53 strictEqual(alpnProtocol, 'h2'); 100 const { alpnProtocol, httpVersion } = JSON.parse(raw); 101 strictEqual(alpnProtocol, false);
|
D | test-http2-create-client-secure-session.js | 24 assert.strictEqual(stream.session.alpnProtocol, 'h2'); 34 alpnProtocol: socket.alpnProtocol property 53 assert.strictEqual(client.alpnProtocol, 'h2'); 75 assert.strictEqual(jsonData.alpnProtocol, 'h2');
|
D | test-http2-https-fallback-http-server-options.js | 21 const { socket: { alpnProtocol } } = request.httpVersion === '2.0' ? 25 alpnProtocol, property 79 const { alpnProtocol, httpVersion, userAgent } = JSON.parse(raw); 80 assert.strictEqual(alpnProtocol, false);
|
D | test-tls-alpn-server-client.js | 29 results[serverIndex++].server = { ALPN: c.alpnProtocol }; 57 results[clientIndex].client = { ALPN: client.alpnProtocol };
|
D | test-tls-socket-constructor-alpn-options-parsing.js | 33 assert.strictEqual(tlsSocket.alpnProtocol, 'http/1.1');
|
D | test-http2-create-client-session.js | 46 assert.strictEqual(client.alpnProtocol, 'h2c');
|
/third_party/node/lib/ |
D | _tls_wrap.js | 540 this.alpnProtocol = null; 1055 this.alpnProtocol = this._handle.getALPNNegotiatedProtocol(); 1064 'alpn', this.alpnProtocol,
|
/third_party/node/lib/internal/http2/ |
D | core.js | 1048 this[kAlpnProtocol] = socket.alpnProtocol; 1306 get alpnProtocol() { getter in Http2Session 3038 if (socket.alpnProtocol === false || socket.alpnProtocol === 'http/1.1') {
|
/third_party/node/deps/undici/src/lib/ |
D | client.js | 1224 const isH2 = socket.alpnProtocol === 'h2' 1366 if (socket && !socket.destroyed && socket.alpnProtocol !== 'h2') {
|
/third_party/node/doc/api/ |
D | tls.md | 703 The `tlsSocket.alpnProtocol` property is a string that contains the selected 704 ALPN protocol. When ALPN has no selected protocol, `tlsSocket.alpnProtocol` 927 `tlsSocket.alpnProtocol` property can be checked to determine the negotiated
|
D | http2.md | 380 #### `http2session.alpnProtocol` 390 will return the value of the connected `TLSSocket`'s own `alpnProtocol` 3216 const { socket: { alpnProtocol } } = req.httpVersion === '2.0' ? 3220 alpnProtocol,
|
/third_party/node/deps/undici/ |
D | undici.js | 9250 const isH2 = socket.alpnProtocol === "h2"; 9369 if (socket && !socket.destroyed && socket.alpnProtocol !== "h2") {
|
/third_party/node/deps/corepack/dist/lib/ |
D | corepack.cjs | 12311 const isH2 = socket.alpnProtocol === "h2"; 12429 if (socket && !socket.destroyed && socket.alpnProtocol !== "h2") {
|