Searched refs:alpnProtocol (Results 1 – 10 of 10) sorted by relevance
/third_party/node/test/parallel/ |
D | test-http2-https-fallback.js | 25 const { socket: { alpnProtocol } } = request.httpVersion === '2.0' ? 29 alpnProtocol, property 51 const { alpnProtocol, httpVersion } = JSON.parse(raw); 52 strictEqual(alpnProtocol, 'h2'); 99 const { alpnProtocol, httpVersion } = JSON.parse(raw); 100 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 }; 44 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 | 474 this.alpnProtocol = null; 922 this.alpnProtocol = this._handle.getALPNNegotiatedProtocol(); 931 'alpn', this.alpnProtocol,
|
/third_party/node/lib/internal/http2/ |
D | core.js | 1012 this[kAlpnProtocol] = socket.alpnProtocol; 1247 get alpnProtocol() { getter in Http2Session 2952 if (socket.alpnProtocol === false || socket.alpnProtocol === 'http/1.1') {
|
/third_party/node/doc/api/ |
D | tls.md | 597 The `tlsSocket.alpnProtocol` property is a string that contains the selected 598 ALPN protocol. When ALPN has no selected protocol, `tlsSocket.alpnProtocol` 817 `tlsSocket.alpnProtocol` property can be checked to determine the negotiated
|
D | http2.md | 326 #### `http2session.alpnProtocol` 335 will return the value of the connected `TLSSocket`'s own `alpnProtocol` 2956 const { socket: { alpnProtocol } } = req.httpVersion === '2.0' ? 2960 alpnProtocol,
|